autocti.TrapInstantCapture#
- class autocti.TrapInstantCapture(density: float = 1.0, release_timescale=1.0, fractional_volume_none_exposed=0.0, fractional_volume_full_exposed=0.0)[source]#
- __init__(density: float = 1.0, release_timescale=1.0, fractional_volume_none_exposed=0.0, fractional_volume_full_exposed=0.0)[source]#
Methods
__init__
([density, release_timescale, ...])dict
()A dictionary representation of the instance comprising a type field which contains the entire class path by which the type can be imported and constructor arguments.
from_dict
(cls_dict)Instantiate an instance of a class from its dictionary representation.
from_json
(file_path)Load the dictable object to a .json file, whereby all attributes are converted from the .json file's dictionary representation to create the instance of the object
output_to_json
(file_path)Output the dictable object to a .json file, whereby all attributes are converted to a dictionary representation first.
poisson_density_from
(total_pixels[, seed])Attributes
delta_ellipticity