astro.setupMasses

nucleardatapy.astro.setup_masses.masses_obss(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_masses.masses_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_masses.setupMasses(source='J1614–2230', obs=1)[source]

Instantiate the observational mass for a given source and obs.

This choice is defined in the variables source and obs.

source can chosen among the following ones: ‘J1614–2230’.

obs depends on the chosen source.

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

  • obs (str, optional.) – Fix the obs. Default value: 1.

Attributes:

label

Attribute providing the label the data is references for figures.

latexCite

Attribute latexCite.

mass

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_masses.setupMassesAverage(source='J1614–2230')[source]

Instantiate the observational mass for a given source and averaged over obs.

This choice is defined in the variable source.

source can chosen among the following ones: ‘J1614–2230’.

Parameters:

source (str, optional.) – Fix the name of source. Default value: ‘J1614–2230’.

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_setupMasses_plot.py

map to buried treasure

The masses measured for massive neutron stars is radio-astronomy. The different colors correspond to the different sources.