sorcha.modules.DESDiscoveryFilter
Attributes
Functions
|
Filter for the DES object discovery requirements. This filter checks for an ARCCUT limit (has to be at least 2 objects not in a triplet discovery season) and |
|
Computes ARCCUT, the time between the first and last detection dropping one night of detection |
|
Computes the time difference between triplets, returns if a triplet is formed |
|
Computes NUNIQUE, the number of unique nights an object has been observed |
Module Contents
- DESDiscoveryFilter(observations, objectId='ObjID', mjdTime='fieldMJD_TAI', x_km='Obj_Sun_x_LTC_km', y_km='Obj_Sun_y_LTC_km', z_km='Obj_Sun_z_LTC_km')[source]
Filter for the DES object discovery requirements. This filter checks for an ARCCUT limit (has to be at least 2 objects not in a triplet discovery season) and that the observation of the discovery triplets have to be within 60/90 days (depending on distance) of eachother. :param observations: Dataframe of observations containing midPointTai and distance from Sun in cartesian co-ordinates. :type observations: Pandas dataframe
- Returns:
observations -- Modified 'observations' dataframe without observations that could not be observed.
- Return type:
Pandas dataframe
- compute_arccut(times)[source]
Computes ARCCUT, the time between the first and last detection dropping one night of detection
- Parameters:
times (list) -- list of times, must be in DAYS
- Returns:
flag -- returns true if ARCCUT is greater than 6 months
- Return type:
bool