madlib._sensor_collection.SensorCollection¶
- class madlib._sensor_collection.SensorCollection(sensorList: Sequence[_Sensor])[source]¶
Class containing multiple sensor objects that can generate a comprehensive observing schedule and collate observations.
- __init__(sensorList: Sequence[_Sensor])[source]¶
Initialize SensorCollection class
- Parameters:
sensorList (List[Sensor]) – List of Sensors to include in observation network
Methods
__init__(sensorList)Initialize SensorCollection class
add_sensor(sensor)Add a new sensor to the existing collection, provided the sensor timing has not already been generated.
fromYAML(yaml_file)Instantiate a SensorCollection object from a YAML file
generate_obs_timing(start, end)Given a start time and an end time (in MJD), generate an array of observation times (also in MJD) based on the sensors' defined parameters.
observe(target_satellite)Given a madlib.Satellite, generate an ObservationCollection
paramsFromYAML(yaml_file)Parse a YAML into sensor parameters, returned as a list of dicts