libgs.utils.Defaults

class libgs.utils.Defaults[source]

Defines default values used by the different classes.

Attributes

API_ADDR The host to bind the REST API to
API_PORT The port to bind the REST API to
DASH_PORT Dashboard port
DATA_PATH For backwards compatability only.
DB Database connection (See SQLAlchemy for syntax)
DB_BIN_PATH Path to store datafiles in (that are not stored in db)
GS_ROTATOR_POLLING_INTERVAL Deprecated.
LOG_BACKUPCOUNT Number of log files to keep
LOG_FILE Log file name
LOG_FORMAT log format string
LOG_MAXFILESIZE Max log filesize in bytes
LOG_PATH Path to store log files in
LOG_STRING_LEN length of log format string
MAX_TRACK_DT
MONITOR_SAVE_DT_NOTRACK The time inteval (in seconds) at which to save monitor values to database while not tracking
MONITOR_SAVE_DT_TRACK The time inteval (in seconds) at which to save monitor values to database while tracking
RECORD_SPECTRA If false, spectra will not be recorded and stored in database
RECORD_SPECTRA_DT If spectrum recording enabled, time delay between subsequent recorded spectra (in seconds)
RECORD_SPECTRA_MAX_LEN If spectrum recording enabled, maximum number of spectra to record in a single pass
RESTAPI_DEBUG_MODE Put restapi in debug mode (more verbose error messages)
RESTAPI_TABLE_LIMIT Max rows to return by restapi if nothing has been explicitly given
ROTATOR_ANTENNA_BEAMWIDTH Default antenna beamwidth (normally overridden in rotator class).
ROTATOR_MAX_AZ Default maximum azimuth angle for antenna rotator (normally overridden in rotator class)
ROTATOR_MAX_EL Default maximum elevation for antenna rotator (normally overridden in rotator class)
ROTATOR_MIN_AZ Default minimum azimuth angle for antenna rotator (normally overridden in rotator class)
ROTATOR_MIN_EL Default minimum elevation for antenna rotator (normally overridden in rotator class)
ROTATOR_SLEW_TIMEOUT Default timeout for slewing antennae (normally overridden in rotator class)
ROTATOR_STOWED_AZ Default azimuth angle to stow antennae to (normally overridden in rotator class)
ROTATOR_STOWED_EL Default elevation angle to stow antennae to (normally overridden in rotator class)
TX_REPLY_TIMEOUT Communications timeout after requesting data, and waiting for reply
UI_LOG_LEN Length of log to keep in UI
USE_LOG_COLOUR Color log entries
VIS_FREQUENCY_PLOT_UPDATE_DELAY Update delay for frequency plot (should be around .2 - 2)
WFALL_COLORMAP //bokeh.pydata.org/en/0.12.6/docs/reference/palettes.html
WFALL_JPG_COLORMAP //matplotlib.org/examples/color/colormaps_reference.html
WFALL_JPG_DPI DPI for recorded waterfall plots
WFALL_JPG_HEIGHT Height of each recorded waterfall plot(in pixels) if dpi = 100
WFALL_JPG_OUT_SCALE Scaling of DPI on output of recorded waterfall plots..
WFALL_JPG_WIDTH Width of each recorded waterfall plot (in pixels) if dpi=100
WFALL_JPG_WIDTH_EXTRA Extra width of each recorded waterfall plot in pixels if dpi = 100
XMLRPC_CLI_TIMEOUT Default client timeout for xmlrpc calls
XMLRPC_GS_SERVER_ADDR The host to bind the XMLRPC ground station interface to
XMLRPC_GS_SERVER_PORT The port to bind the XMLRPC ground station interface to
XMLRPC_SCH_SERVER_ADDR The host to bind the XMLRPC scheduler interface to
XMLRPC_SCH_SERVER_PORT The port to bind the XMLRPC scheduler interface to