sorcha.modules.DESDiscoveryFilter

Attributes

bound

Functions

DESDiscoveryFilter(observations[, objectId, mjdTime, ...])

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

compute_arccut(times)

Computes ARCCUT, the time between the first and last detection dropping one night of detection

compute_triplet(times, thresh)

Computes the time difference between triplets, returns if a triplet is formed

compute_nunique(times)

Computes NUNIQUE, the number of unique nights an object has been observed

Module Contents

bound[source]
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

compute_triplet(times, thresh)[source]

Computes the time difference between triplets, returns if a triplet is formed

Parameters:
  • times (list) -- list of times, must be in DAYS

  • thresh -- threshold time for pairs

Returns:

flag -- returns true if triplet is formed

Return type:

bool

compute_nunique(times)[source]

Computes NUNIQUE, the number of unique nights an object has been observed

Parameters:

times (list) -- list of times, must be in DAYS

Returns:

nunique -- Number of unique nightly detections

Return type:

int