aces.survey.survey_class¶
Module Contents¶
Classes¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes¶
- aces.survey.survey_class.ASKAP_Survey_factory(epoch=0, read_write=False, verbose=False)[source]¶
- Parameters:
epoch – Integer epoch number. An exception is raised if the description table lack a row for this epoch.
- class aces.survey.survey_class.ASKAP_Survey(field_table, description)[source]¶
Bases:
object- _select(criteria)[source]¶
Return a table selected by the criteria :param criteria: List of three-element criteria. Items of the list combined with AND
eg: critera = [[‘COL1’, ‘==’, 21], [‘COL2’, ‘>’, 1.4]]
- select_indices(criteria)[source]¶
Return a table selected by the criteria :param criteria: List of three-element criteria. Items of the list combined with AND
- select(criteria)[source]¶
Return a table selected by the criteria :param criteria: List of three-element criteria. Items of the list combined with AND
- find_field(field_name, translate=no_translate)[source]¶
Return the indices of rows with FIELD_NAME match with input. Several may be returned if the one field were observed more than once. :param field_name: :return: list of indices.
- put_field_data(inx, cols, data)[source]¶
Over-write values in the field data table :param inx: row number of table :param cols: Names of columns to receive new values :param data: List of values. Length must match length of cols list.
- get_sub_table(fld, sbid, which, **kw)[source]¶
- Parameters:
fld –
sbid –
which – Select which table from ‘beam’, ‘cat’, ‘ast_bb’, ‘statistics’
:returns astropy Table