passengersim.callbacks.
booking_detail¶
Daily tracer collecting cumulative sales for selected legs.
Attach a LegBookingDetailTracer manually, or enable it in a configuration as the leg_booking_detail
configured callback. The results are available on summaries as
leg_booking_detail and fig_leg_booking_detail_rake (see
passengersim.summaries.leg_callback_detail.SimTabLegCallbackDetail).
Results saved before this collector became a tracer hold the same values as
rows of callback_data.daily, with keys such as leg-101-sold; the
readers in this module accept both.
Classes
|
Daily tracer recording the cumulative sales of selected legs in every sample. |
|
Base for daily tracers keeping one value per leg, sample, and day. |
Functions
|
Build a tracer recording cumulative sales for selected legs. |
|
Get a per-sample leg detail table, from a tracer or from legacy daily rows. |
|
|
Get the recorded cumulative sales, one row per trial, sample, and day. |
|
Summarize the observed cumulative sales for each leg and day. |