pint.plot_utils.phaseogram
- pint.plot_utils.phaseogram(mjds_in, phases, weights=None, title=None, bins=100, rotate=0.0, size=5, alpha=0.25, width=6, maxphs=2.0, plotfile=None)[source]
Make a nice 2-panel phaseogram
Makes a phaseogram of photons with phases, with a point for each photon that can have a transparency determined by an array of weights.
- Parameters:
mjds_in (array or astropy.units.Quantity or astropy.time.Time) – Assumes units of days if bare numerical array, otherwise will convert Quantity or Time into days.
phases (array) – Phases for each photon, assumes range is [0,1)