constraints_plot

macro_lightning.constraints_plot(m_arr: Sequence, sigmin: float = 1e-15, sigmax: float = 1e+25, *, savefig: Optional[str] = None, constr_labels: bool = False, all_constrs: bool = False, mica_constr: bool = False, CMB_constr: bool = False, WD_constr: bool = False, superbursts_constr: bool = False, humandeath_constr: bool = False, dfn_constr: bool = False, lensing_constr: bool = False, bh_constr: bool = False)[source]

Make standard constraint plot, with custom constraints in context.

Custom constraints are created in the with statement

Parameters
m_arrSequence

Mass array

sigminfloat

Minimum plotted sigma

sigmaxfloat

Maximum plotted sigma

constr_labelsbool

Whether to add labels to all the Other Parameters

Yields
figFigure
axAxes
m_arrSequence

Mass array

sigminfloat

Minimum plotted sigma

sigmaxfloat

Maximum plotted sigma

Other Parameters
mica_constr: bool

Whether to label the mica constraints (default False)

References : [1], [2], [3]

See plot_mica_constraints()

CMB_constr: bool

Whether to label the CMB constraints (default False).

References : [5]

See plot_cmb_constraints()

WD_constr: bool

Whether to label the White Dwarf constraints (default False).

References : [4]

See plot_white_dwarf_constraints()

superbursts_constr: bool

Whether to label the superbursts constraints (default False).

References : [4]

See plot_superbursts_constraints()

humandeath_constr: bool

Whether to label the human-death constraints (default False).

References : [6]

See plot_humandeath_constraints()

dfn_constr: bool

Whether to label the DFN constraints (default False).

References : [7]

See plot_dfn_constraints()

lensing_constr: bool

Whether to label the micro-lensing constraints (default False).

References : [8], [9], [10], [11], [12]

See plot_lensing_constraints()

bh_constr: bool

Whether to label the black hole constraints (default False).

See plot_black_hole_constraints()

References

1

Price, P. (1988). Limits on Contribution of Cosmic Nuclearites to Galactic Dark MatterPhysical Review D, 38, 3813-3814.

2

De Rujula, A., & Glashow, S. (1984). Nuclearites: A Novel Form of Cosmic RadiationNature, 312, 734-737.

3

David M. Jacobs, Glenn D. Starkman, & Bryan W. Lynn (2014). Macro Dark MatterMNRAS.

4(1,2)

R. J. Wilkinson, J. Lesgourgues, and C. Bœhm, Journal of Cosmology and Astroparticle Physics 2014, 026 (2014)

5

J. S. Sidhu and G. D. Starkman, Physical Review D 101 (2020), 0.1103/physrevd.101.083503.

6

J. S. Sidhu, R. Scherrer, and G. Starkman, Physics Letters B 803, 135300 (2020).

7

J. S. Sidhu and G. Starkman, Physical Review D 100 (2019), 10.1103/physrevd.100.123008.

8
  1. Alcock et al., The Astrophysical Journal 550, L169 (2001).

9

K. Griest, A. M. Cieplak, and M. J. Lehner, Physical Review Letters 111, 181302 (2013).

10
  1. Tisserand et al., Astronomy & Astrophysics 469, 387 (2007).

11

B. J. Carr, K. Kohri, Y. Sendouda, and J. Yokoyama, Physical Review D 81, 104019 (2010).

12
  1. Niikura et al., Nature Astronomy 3, 524 (2019)

Examples

In this example we make an empty constraint plot.
>>> M = np.logspace(1, 25)
>>> with constraints_plot(M, sigmin=1e-15):
...     pass