API Reference¶
This section provides detailed API documentation for all IACTrace modules.
Primary Interfaces¶
These modules contain the main user-facing APIs:
Core Components¶
Lower-level modules for advanced usage:
Telescope Operations¶
The iactrace.telescope.operations module provides functional operations
for modifying telescopes. See Quick Start for usage
examples.
Key operations include:
Mirror modifications:
set_mirror_positions- Update facet positionsset_mirror_rotations- Update facet orientationsset_mirror_curvatures- Modify surface curvaturesset_focal_lengths- Set focal lengths (computes curvature)resample_mirrors- Regenerate Monte Carlo sample points
Error simulation:
apply_roughness- Add surface micro-roughnessapply_misalignment_to_group- Random tip/tilt errorsapply_displacement_to_group- Random axial displacementapply_focal_error_to_group- Focal length perturbations
Sensor operations:
focus- Adjust sensor position along optical axisadd_sensor- Add a new sensorset_sensor_position- Move sensor to specific location
Obstruction operations:
add_obstruction- Add shadow-casting structureclear_obstructions- Remove all obstructions
Utility functions:
get_info- Get telescope summary informationclone- Create independent copy of telescope