kernelkit.Detector

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
height

Height of the detector.

pixel_height
pixel_volume

Volume of a single detector pixel.

pixel_width
rows
shape
width

Width of the detector.

__init__(rows: int, cols: int, pixel_height: float, pixel_width: float) None#

Methods

__init__(rows, cols, pixel_height, pixel_width)

Attributes

rows

cols

pixel_height

pixel_width

height

Height of the detector.

pixel_volume

Volume of a single detector pixel.

shape

width

Width of the detector.