autowisp.database.initialize_data_reduction_structure module

Class Inheritance Diagram

Inheritance diagram of HDF5Attribute, HDF5DataSet, HDF5Link, HDF5Product, HDF5StructureVersion

Define function to add defaults to all HDF5 structure tables.

autowisp.database.initialize_data_reduction_structure._get_apphot_attributes()[source]

Create default data reduction attributes describing aperture photometry.

autowisp.database.initialize_data_reduction_structure._get_apphot_datasets()[source]

Create the datasets to contain shape aperture photometry results.

Create default data reduction links for sky to background extraction.

autowisp.database.initialize_data_reduction_structure._get_attributes()[source]

Create the default database attributes in data reduction HDF5 files.

autowisp.database.initialize_data_reduction_structure._get_background_attributes()[source]

Create default attributes in data reduction files describing BG extraction.

autowisp.database.initialize_data_reduction_structure._get_background_datasets()[source]

Create default data reduction data sets of background measurements.

Create default data reduction links for sky to background extraction.

autowisp.database.initialize_data_reduction_structure._get_catalogue_attributes()[source]

Create default data reduction attributes describing catalogue queries.

autowisp.database.initialize_data_reduction_structure._get_catalogue_datasets()[source]

Create default data reduction datasets for catalogue_queries.

autowisp.database.initialize_data_reduction_structure._get_datasets()[source]

Create the default database datasets in data reduction HDF5 files.

Return link to one version of used_component within user_component group.

Parameters:
  • used_component – The pipeline name of the component being used.

  • user_component – The pipeline component using used_component.

  • description – A description of the link.

Returns:

A properly constructed link signifying that user_component was derived based on a particular version of used_component.

Return type:

autowisp.database.data_model.HDF5Link

Create the default database links in data reduction HDF5 files.

autowisp.database.initialize_data_reduction_structure._get_magfit_attributes(photometry_mode)[source]

Return a set of magnitude fitting attributes for a single photometry.

Parameters:

photometry_mode (str) – The method by which the raw magnitudes used for magnitude fitting were extracted.

Returns:

The attributes describing magnitude fitting.

Return type:

[autowisp.database.data_model.HDF5Attribute]

autowisp.database.initialize_data_reduction_structure._get_magfit_datasets(photometry_mode)[source]

Return a set of magnitude fitting data sets for a single photometry.

Parameters:

photometry_mode (str) – The method by which the raw magnitudes used for magnitude fitting were extracted.

Returns:

The datasets containing the magnitude fitting results.

Return type:

[autowisp.database.data_model.HDF5DataSet]

autowisp.database.initialize_data_reduction_structure._get_magfit_key_and_path(photometry_mode)[source]

Return start of pipeline key and path for magfit datasets/attributes.

Parameters:

photometry_mode (str) – The method by which the raw magnitudes used for magnitude fitting were extracted.

Returns:

The start of the pipeline_key and the absolute path of the dataset in the HDF5 file under whihc to place the fitted magnitudes and associated attributes.

Return type:

str, str

autowisp.database.initialize_data_reduction_structure._get_shapefit_attributes()[source]

Create the default attribute in data reduction files describing PSF fitting.

Parameters:

None

Returns:

All attributes related to PSF/PRF fitting to include in data reduction files.

Return type:

[autowisp.database.data_model.HDF5Attribute]

autowisp.database.initialize_data_reduction_structure._get_shapefit_datasets()[source]

Create the datasets to contain shape fitting results.

Create default data reduction links for sky to background extraction.

autowisp.database.initialize_data_reduction_structure._get_sky_to_frame_datasets()[source]

Create default data reduction sky to frame transformation data sets.

Create default data reduction links for sky to frame transformations.

autowisp.database.initialize_data_reduction_structure._get_skytoframe_attributes()[source]

Create default data reduction attributes describing the astrometry.

autowisp.database.initialize_data_reduction_structure._get_source_extraction_attributes()[source]

Create default data reduction attributes describing source extraction.

autowisp.database.initialize_data_reduction_structure._get_source_extraction_datasets()[source]

Create default data reduction datesets for source extraction.

autowisp.database.initialize_data_reduction_structure._get_source_projection_attributes()[source]

Create default data reduction attributes describing source projection.

autowisp.database.initialize_data_reduction_structure._get_source_projection_datasets()[source]

Create default projected sources data reduction data sets.

Create default data reduction links for projected sources.

autowisp.database.initialize_data_reduction_structure.get_default_data_reduction_structure()[source]

Add the default configuration for the layout of data reduction files.