oap_model.detector_run module
- class oap_model.detector_run.DetectorRun(detector: oap_model.detector.Detector, images: list[oap_model.detector.ImagedRegion], distance: float)[source]
Bases:
object- property detector_position
- distance: float
- get_frames_to_measure(spec, **kwargs) list[tuple[float, float], oap_model.intensity.IntensityField][source]
Returns a list of frames to measure, with the y extent of the frame and the frame itself.
- images: list[oap_model.detector.ImagedRegion]
- measure_diameters(spec=DiameterSpec(diameter_method='circle_equivalent', edge_filter=True, framed=True, min_sep=None, bound=True, filled=False, z_confinement=False, c=8.0), **kwargs)[source]
- plot(n_images: int = None, image_filters: list[oap_model.detector.ImageFilter] = [<ImageFilter.PRESENT_HALF_INTENSITY: 1>], **kwargs)[source]
Plot the images in the run.
- volume(diameter, spec: DiameterSpec = None)[source]
- property xlims