set_ginga_config
- wss_tools.quip.main.set_ginga_config(mode='normalmode', gcfg_suffix='normalmode', verbose=False)[source]
Replace Ginga files in HOME directory with the appropriate version for the given mode.
This must be run after
copy_ginga_files()
, not before. For a list of affected configuration files, see Ginga Configuration Files.“normalmode” is set such that all images are always in cache. This is useful if you want to do background subtraction etc. in Ginga. However, it is not sustainable if there are too many images opened at the same time. The auto-levels behavior is same as Ginga default.
“mosaicmode” is designed such that only certain number of images will be processed, although all images are still always cached. As a result, it is prone to memory problem if run in “normalmode”. The auto-levels behavior is disabled by default to allow blinking the images all at the same scale.
- Parameters
- mode{‘normalmode’, ‘mosaicmode’}
Mode of analysis.
- gcfg_suffix{‘normalmode’, ‘thumbnail’, ‘segment_id’}
Associated
ginga_config.py
to use. This is slightly different frommode
because “mosaicmode” can have different requirements depending on operation type.- verbosebool
Print info to screen.