plots.lloid module

Plotting tools, mostly for inspiral searches.

plots.lloid.plotbank(in_filename, out_filename=None, column1='mchirp', column2='mtotal')[source]

Plot template bank parameters from a file generated by lalapps_tmpltbank.

plots.lloid.plotskymap(fig, theta, phi, logp, gpstime, arrival_times=None, inj_lon_lat=None)[source]

Draw a skymap as produced by the lal_skymap element. arrival_times should be a dictionary with keys being IFO names (e.g. ‘H1’, ‘L1’, ‘V1’, …) and values being double precision GPS arrival at each IFO.

If inj_lon_at is set to a celestial Dec/RA tuple in radians, then the injection point of origin will be marked with a cross.

Currently, lal_skymap generates a grid of 450x900 points, and this code relies on that. It could be generalized to handle any rectangular grid, but the pcolormesh method that is used here is really only finally tuned for quadrilateral meshes.

plots.lloid.plotsvd(in_filename, out_filename=None)[source]

Plot heatmap of orthogonal template components.

plots.lloid.units = {'msun': '$M_\\odot$'}

Dictionary of strings for useful plot labels. Keys are generallly named the same as a matching ligolw column.