uvex_transients.phase_space.analysis.compare#
Compare two recovery maps.
difference_map() takes the fitted maps of two runs, each the
map.ecsv table of
grid_table(), and returns how much more (or less) one recovers
than the other at every point of the plane, in dex of the recovered volume-time \(f\,\mathcal V T\). That is the
factor by which the expected number of recoveries changes for a population at a given point, whatever its rate (for a
rate constant in redshift). It does not depend on the number of explosion-time bins, as the recovery fraction \(f\)
alone does. Nothing is simulated, so it needs neither the schedule nor scikit-learn.
The axes can be any: a table that records its space (everything
Experiment.grid_table makes) is differenced on
the axes it names, and an earlier table, which does not, on its first two columns.
Attributes
the kind of sampler, the band, and the shape of the transient the axes are measured on (the canonical one's spectral index, rise and fade, the breakout's four shape parameters). |
Functions
|
Difference two recovery maps, in dex of the recovered yield. |