neuralib.imaging.fov.ObjectiveFov
- class neuralib.imaging.fov.ObjectiveFov[source]
Bases:
objectClass for 2P Field Of View coordinates
Use IBL coordinates space
AP (+), anterior to the Bregma. (-) posterior to the Bregma ML (+), right hemisphere. (-) left hemisphere
- region_name: str
FOV name
- am: ndarray
anteromedial (default in mm). Array[float, 2] in XY
- pm: ndarray
posteromedial (default in mm). Array[float, 2] in XY
- al: ndarray
anterolateral (default in mm). Array[float, 2] in XY
- pl: ndarray
posterolateral (default in mm). Array[float, 2] in XY
- rotation_angle_ml: float
objective ml direction rotation in deg
- rotation_angle_ap: float
objective ap direction rotation in deg
- unit: Literal['mm', 'um']
- __init__(region_name, am, pm, al, pl, *, rotation_angle_ml=0, rotation_angle_ap=0, unit='mm')
Method generated by attrs for class ObjectiveFov.
- Parameters:
region_name (str)
am (ndarray)
pm (ndarray)
al (ndarray)
pl (ndarray)
rotation_angle_ml (float)
rotation_angle_ap (float)
unit (Literal['mm', 'um'])
- Return type:
None
- property ap_distance: float
anterior to posterior distance of the FOV
- property ml_distance: float
medial to lateral distance of the FOV