kernelkit.Detector#
- class kernelkit.Detector(rows: int, cols: int, pixel_height: float, pixel_width: float)#
Detector specifications.
- Parameters:
- rowsint
Number of rows in the detector.
- colsint
Number of columns in the detector.
- pixel_heightfloat
Height of a single pixel.
- pixel_widthfloat
Width of a single pixel.
- Attributes:
- cols
heightHeight of the detector.
- pixel_height
pixel_volumeVolume of a single detector pixel.
- pixel_width
- rows
- shape
widthWidth of the detector.
- __init__(rows: int, cols: int, pixel_height: float, pixel_width: float) None#
Methods
__init__(rows, cols, pixel_height, pixel_width)Attributes
rowscolspixel_heightpixel_widthheightHeight of the detector.
pixel_volumeVolume of a single detector pixel.
shapewidthWidth of the detector.