fact.auxservices package

Submodules

fact.auxservices.base module

class fact.auxservices.base.AuxService(auxdir='/fact/aux')[source]

Bases: object

basename = 'AUX_SERVICE'
filename_template
ignored_columns = []
read_date(date)[source]
classmethod read_file(filename)[source]
renames = {}
transforms = {}

fact.auxservices.services module

class fact.auxservices.services.MagicWeather(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'MAGIC_WEATHER_DATA'
ignored_columns = ['stat', 'QoS']
renames = {'P': 'pressure', 'T': 'temperature', 'H': 'humidity', 'd': 'wind_direction', 'T_dew': 'dewpoint', 'v_max': 'wind_gust_speed', 'v': 'wind_speed', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.PfMini(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'PFMINI_CONTROL_DATA'
ignored_columns = ['QoS']
renames = {'Temperature': 'temperature', 'Humidity': 'humidity', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.DriveTracking(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'DRIVE_CONTROL_TRACKING_POSITION'
ignored_columns = ['QoS']
renames = {'SrcHa': 'hourangle_source', 'Ra': 'right_ascension', 'Az': 'azimuth', 'Dec': 'declination', 'HaDec': 'hourangle_source', 'dev': 'absolute_control_deviation', 'dAz': 'azimuth_deviation', 'Zd': 'zenith', 'Ha': 'hourangle', 'SrcRa': 'right_ascension_source', 'SrcDec': 'declination_source', 'avgdev': 'average_control_deviation', 'dZd': 'zenith_deviation', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.DrivePointing(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'DRIVE_CONTROL_POINTING_POSITION'
ignored_columns = ['QoS']
renames = {'Az': 'azimuth', 'Zd': 'zenith', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.DriveSource(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'DRIVE_CONTROL_SOURCE_POSITION'
ignored_columns = ['QoS']
renames = {'Ra_src': 'right_ascension_source', 'Ra_cmd': 'right_ascension_command', 'Offset': 'wobble_offset', 'Name': 'source', 'Dec_cmd': 'declination_command', 'Period': 'orbit_period', 'Angle': 'wobble_angle', 'Dec_src': 'declination_source', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.FSCHumidity(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'FSC_CONTROL_HUMIDITY'
ignored_columns = ['QoS']
renames = {'t': 'fsc_uptime', 'H': 'humidity', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.FSCTemperature(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'FSC_CONTROL_TEMPERATURE'
ignored_columns = ['QoS']
renames = {'T_eth': 'ethernet_temperature', 'T_crate': 'crate_temperature', 'T_aux': 'auxiliary_power_supply_temperature', 'T_sens': 'sensor_compartment_temperature', 'T_back': 'ftm_backpanel_temperature', 't': 'fsc_uptime', 'T_ps': 'power_supply_temperature', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.FTMTriggerRates(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'FTM_CONTROL_TRIGGER_RATES'
ignored_columns = ['QoS']
renames = {'OnTime': 'ontime', 'PatchRate': 'patch_rate', 'ElapsedTime': 'elapsed_time', 'TriggerRate': 'trigger_rate', 'OnTimeCounter': 'effective_ontime', 'BoardRate': 'board_rate', 'TriggerCounter': 'trigger_counter', 'FTMtimeStamp': 'ftm_timestamp', 'Time': 'timestamp'}
transforms = {'effective_ontime': <function FTMTriggerRates.<lambda>>, 'timestamp': <function fact_mjd_to_datetime>, 'ftm_timestamp': <function FTMTriggerRates.<lambda>>}
class fact.auxservices.services.BiasVoltage(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'BIAS_CONTROL_VOLTAGE'
ignored_columns = ['QoS']
renames = {'Uout': 'bias_voltage', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}
class fact.auxservices.services.FADTemperature(auxdir='/fact/aux')[source]

Bases: fact.auxservices.base.AuxService

basename = 'FAD_CONTROL_TEMPERATURE'
ignored_columns = ['QoS']
renames = {'temp': 'temperature', 'cnt': 'count', 'Time': 'timestamp'}
transforms = {'timestamp': <function fact_mjd_to_datetime>}