gaia_cob_pmp.app.models.dataset¶
Attributes¶
Classes¶
Details for the Dataset returned from an Observation. |
Functions¶
|
Does this user account correspond to a researcher who is a member of the project linked to this dataset? |
Module Contents¶
- class gaia_cob_pmp.app.models.dataset.DataSet(*args, **kwargs)¶
Bases:
django.db.models.ModelDetails for the Dataset returned from an Observation.
- observation¶
- upload¶
- flux_col¶
- flux_err_col¶
- flux_units¶
- wavelength_col¶
- wavelength_units¶
- radial_velocity¶
- radial_velocity_error¶
- doi¶
- arxiv_url¶
- ads_url¶
- bibtex¶
- comment¶
- is_valid¶
- get_clean_arxiv_url()¶
- get_clean_ads_url()¶
- get_df()¶
- gaia_cob_pmp.app.models.dataset.User¶
- gaia_cob_pmp.app.models.dataset.is_linked_project_member(user: User, dataset: DataSet) bool¶
Does this user account correspond to a researcher who is a member of the project linked to this dataset? If not, does the dataset have an ArXiV link (i.e. the data is public)?
- Parameters:
user – User to check.
proposal – The Proposal to check.
- Returns:
True if the user is a Researcher who is a member of this proposal’s linked project, else True if the user is active and the dataset has an arXiV link, else False.