astro.setupMR

nucleardatapy.astro.setup_mr.mr_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_mr.mr_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_mr.setupMR(source='J0030+0451', 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.

mass_sig_lo

Attribute the negative uncertainty.

mass_sig_up

Attribute the positive uncertainty.

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.

rad

Attribute the observational mass of the source.

rad_sig_lo

Attribute the negative uncertainty.

rad_sig_up

Attribute the positive uncertainty.

ref

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

class nucleardatapy.astro.setup_mr.setupMRAverage(source='J1614–2230', obss=[1, 2])[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_setupMR_plot.py

map to buried treasure

The masses and radii measured by NICER. The different colors correspond to the different sources.