CBPModel¶
-
class
lsst.ts.cbp.CBPModel¶ Bases:
objectThis is the model that connects the CSC and the component together.
Attributes: - azimuth :
float The last updated position of the azimuth encoder
- altitude :
float The last updated position of the altitude encoder
- mask :
str The last updated mask name of the mask encoder.
- mask_rotation :
float The last updated mask rotation of the rotation encoder.
- focus :
float The last updated focus of the focus encoder.
- panic_status :
int The last updated panic_status of the status byte.
- azimuth_status :
int The last updated azimuth_status of the status byte.
- altitude_status :
int The last updated altitude_status of the status byte.
- mask_status :
int The last updated mask_status of the status byte.
- mask_rotation_status :
int The last updated mask_rotation_status of the status byte.
- focus_status :
int The last updated focus_status of the status byte.
- auto_parked :
int The last updated auto_parked attribute.
- parked :
int The last updated parked attribute.
Methods Summary
change_focus(focus)Calls the change_focus function of the CBP component, change_mask(mask)Calls the change_mask function of the component. configure(config)connect()disconnect()move_altitude(altitude)Calls the move_altitude function of the component. move_azimuth(azimuth)Calls the move_azimuth function of the component. park()Calls the park function of the component. publish()Calls the publish function of the component. unpark()Methods Documentation
-
change_focus(focus: int)¶ Calls the change_focus function of the CBP component,
Parameters: - focus: int
The focus in microns to change to.
Returns: - None
-
change_mask(mask: str)¶ Calls the change_mask function of the component.
Parameters: - mask: str
The name of the mask to change to.
Returns: - None
-
configure(config)¶
-
connect()¶
-
disconnect()¶
-
move_altitude(altitude: float)¶ Calls the move_altitude function of the component.
Parameters: - altitude: float
The altitude in degrees to move CBP to.
Returns: - None
-
move_azimuth(azimuth: float)¶ Calls the move_azimuth function of the component.
Parameters: - azimuth: float
The azimuth in degrees to move to.
Returns: - None
-
park()¶ Calls the park function of the component.
Returns: - None
-
publish()¶ Calls the publish function of the component.
Returns: - None
-
unpark()¶
- azimuth :