astro.setupMup

nucleardatapy.astro.setup_mup.mup_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 observations.

Returns:

The list of observations. If source == ‘J1614–2230’: 1, 2, 3, 4, 5.

Return type:

list[str].

nucleardatapy.astro.setup_mup.mup_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_mup.setupMup(source='GW170817', hyp=1)[source]

Instantiate the upper mass for a given source and hyptheses.

This choice is defined in the variables source and hyp.

source can chosen among the following ones: ‘GW170817’.

hyp depends on the chosen hypotheses.

Parameters:
  • source (str, optional.) – Fix the name of source. Default value: ‘GW170817’.

  • hyp (str, optional.) – Fix the hyp. Default value: ‘low-spin+TaylorF2’.

Attributes:

label

Attribute providing the label the data is references for figures.

latexCite

Attribute latexCite.

mup

Attribute the observational mass of the source.

note

Attribute providing additional notes about the observation.

print_latex()[source]

Method which print outputs in table format (latex) on terminal’s screen.

print_output()[source]

Method which print outputs on terminal’s screen.

ref

Attribute providing the full reference to the paper to be citted.

sig_lo

Attribute the negative uncertainty.

sig_up

Attribute the positive uncertainty.

class nucleardatapy.astro.setup_mup.setupMupAverage(source='GW170817', hyps=[1])[source]

Instantiate the upper 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:

print_latex()[source]

Method which print outputs in table format (latex) on terminal’s screen.

print_output()[source]

Method which print outputs on terminal’s screen.

Here is a figure which is produced with the Python sample: /nucleardatapy_sample/astro_setupMup_plot.py

map to buried treasure

The upper masses measured from GW observations. The different colors correspond to the different sources.