astro.setupGW
- nucleardatapy.astro.setup_gw.gw_hyps(source)[source]
Return a list of observations for a given source and print them all on the prompt.
- Parameters:
source (str.) – The source for which there are different hypotheses.
- Returns:
The list of hypotheses. If source == ‘GW170817’: 1, 2, 3, 4, 5.
- Return type:
list[str].
- nucleardatapy.astro.setup_gw.gw_sources()[source]
Return a list of the astrophysical sources for which a mass is given
- Returns:
The list of sources.
- Return type:
list[str].
- class nucleardatapy.astro.setup_gw.setupGW(source='GW170817', hyp=1)[source]
Instantiate the tidal deformability for a given source and obs.
This choice is defined in the variables source and obs.
source can chosen among the following ones: ‘GW170817’.
obs depends on the chosen source.
- Parameters:
source (str, optional.) – Fix the name of source. Default value: ‘GW170817’.
obs (str, optional.) – Fix the obs. Default value: 1.
Attributes:
- label
Attribute providing the label the data is references for figures.
- note
Attribute providing additional notes about the data.
- ref
Attribute providing the full reference to the paper to be citted.
- class nucleardatapy.astro.setup_gw.setupGWAverage(source='GW170817')[source]
Instantiate the total mass for a given source and averaged over hypotheses.
This choice is defined in the variable source.
source can chosen among the following ones: ‘GW170817’.
- Parameters:
source (str, optional.) – Fix the name of source. Default value: ‘GW170817’.
Attributes:
Here is a figure which is produced with the Python sample: /nucleardatapy_sample/astro_setupGW_plot.py
Estimation of the effective tidal deformability from difference sources (different colors) and different hypotheses on the pulsar spin and the waveform employed for match filtering.