CompartmentalSystems.bins package¶
Submodules¶
CompartmentalSystems.bins.CompatibleTsTpMassFieldsPerPool module¶
-
class
CompartmentalSystems.bins.CompatibleTsTpMassFieldsPerPool.
CompatibleTsTpMassFieldsPerPool
(normal_list)[source]¶ Bases:
CompartmentalSystems.bins.TsTpMassFields.TsTpMassFieldsPerPool
-
property
number_of_pools
¶
-
property
CompartmentalSystems.bins.FieldsPerTimeStep module¶
CompartmentalSystems.bins.TimeBin module¶
CompartmentalSystems.bins.TimeField module¶
CompartmentalSystems.bins.TimeMassField module¶
CompartmentalSystems.bins.TimeStep module¶
CompartmentalSystems.bins.TimeStepIterator module¶
CompartmentalSystems.bins.TimeStepPlotter module¶
-
CompartmentalSystems.bins.TimeStepPlotter.
plot_contents_and_gains
(contents, internal_gains, external_gains, max_Ts, max_Tp, max_z)[source]¶
-
CompartmentalSystems.bins.TimeStepPlotter.
plot_contents_and_losses
(remainders, internal_losses, external_losses, max_Ts, max_Tp, max_z)[source]¶
-
CompartmentalSystems.bins.TimeStepPlotter.
plot_external_gains
(external_input_numbers, tss, nTs, nTp, max_z)[source]¶
-
CompartmentalSystems.bins.TimeStepPlotter.
plot_figure_per_pipe
(rectangles, max_Ts, max_Tp, max_z, title_stem, facecolors)[source]¶
CompartmentalSystems.bins.TsMassField module¶
-
class
CompartmentalSystems.bins.TsMassField.
TsMassField
(arr, tss)[source]¶ Bases:
CompartmentalSystems.bins.TimeMassField.TimeMassField
CompartmentalSystems.bins.TsMassFieldsPerTimeStep module¶
-
class
CompartmentalSystems.bins.TsMassFieldsPerTimeStep.
TsMassFieldsPerTimeStep
(listOfTimeFields, start)[source]¶ Bases:
CompartmentalSystems.bins.FieldsPerTimeStep.FieldsPerTimeStep
-
property
max_Ts
¶
-
property
max_number_of_Ts_entries
¶
-
property
CompartmentalSystems.bins.TsTpBin module¶
CompartmentalSystems.bins.TsTpDeathRateField module¶
CompartmentalSystems.bins.TsTpField module¶
-
class
CompartmentalSystems.bins.TsTpField.
TsTpField
(arr, tss)[source]¶ Bases:
CompartmentalSystems.bins.TimeField.TimeField
-
property
max_Tp
¶
-
property
number_of_Tp_entries
¶
-
property
CompartmentalSystems.bins.TsTpMassField module¶
-
class
CompartmentalSystems.bins.TsTpMassField.
TsTpMassField
(arr, tss)[source]¶ Bases:
CompartmentalSystems.bins.TimeMassField.TimeMassField
,CompartmentalSystems.bins.TsTpField.TsTpField
-
property
total_content
¶
-
property
CompartmentalSystems.bins.TsTpMassFields module¶
-
class
CompartmentalSystems.bins.TsTpMassFields.
TsMassFieldsPerPool
(*args, **kwargs)[source]¶ Bases:
CompartmentalSystems.bins.TsTpMassFields.TimeMassFields
-
class
CompartmentalSystems.bins.TsTpMassFields.
TsTpMassFieldsPerPipe
(*args, **kwargs)[source]¶ Bases:
CompartmentalSystems.bins.TsTpMassFields.TimeMassFields
-
property
gains
¶
-
property
-
class
CompartmentalSystems.bins.TsTpMassFields.
TsTpMassFieldsPerPool
(*args, **kwargs)[source]¶ Bases:
CompartmentalSystems.bins.TsTpMassFields.TimeMassFields
CompartmentalSystems.bins.TsTpMassFieldsPerPoolPerTimeStep module¶
CompartmentalSystems.bins.TsTpMassFieldsPerTimeStep module¶
-
class
CompartmentalSystems.bins.TsTpMassFieldsPerTimeStep.
TsTpMassFieldsPerTimeStep
(listOfTimeFields, start)[source]¶ Bases:
CompartmentalSystems.bins.FieldsPerTimeStep.FieldsPerTimeStep
-
property
total_contents
¶
-
property
CompartmentalSystems.bins.TstBin module¶
CompartmentalSystems.bins.density_algorithm module¶
CompartmentalSystems.bins.getsizeof module¶
-
CompartmentalSystems.bins.getsizeof.
total_size
(o, handlers={}, verbose=False)[source]¶ Returns the approximate memory footprint of an object and all of its contents.
Automatically finds the contents of the following builtin containers and their subclasses: tuple, list, deque, dict, set and frozenset. To search other containers, add handlers to iterate over their contents:
- handlers = {SomeContainerClass: iter,
OtherContainerClass: OtherContainerClass.get_elements}
CompartmentalSystems.bins.gv module¶
CompartmentalSystems.bins.plot_helpers module¶
-
class
CompartmentalSystems.bins.plot_helpers.
SinglePlotFigureHandler
(figure_filename)[source]¶ Bases:
object