The ics_agActor is a critical component of the Instrument Control System (ICS) for the Subaru Prime Focus Spectrograph (PFS). It serves as the control actor for the Auto Guider (AG) system, which is responsible for maintaining accurate telescope pointing during observations.
This actor interfaces with the AG Camera Controller (ics_agccActor), the Subaru Gen2 observation control system, and other components to provide automated guiding functionality for the PFS instrument.
- Field Acquisition: Identifies and acquires guide stars in the field of view
- Auto-Guiding: Maintains accurate telescope pointing during observations
- Guide Star Selection: Integrates with the GAIA star catalog for guide star selection. Note that most guide stars come directly from the PfsConfig files.
- Astrometry: Performs astrometric calculations for accurate pointing. Note that this module is not frequently used and may be removed in the future.
- Telescope Control: Calculates and applies pointing corrections
- Database Integration: Stores and retrieves observation data from the operational database
- Python 3.12 or higher
- Dependencies listed in
pyproject.toml
This package uses the Extended Unix Product System (EUPS) for dependency management and environment setup, which is part of the LSST Science Pipelines software stack. The LSST stack is a comprehensive framework for astronomical data processing that provides powerful tools for image processing, astrometry, and data management.
-
Ensure you have the LSST stack installed on your system. If not, follow the installation instructions at the LSST Science Pipelines documentation.
-
Once the LSST stack is set up, declare and setup this package using EUPS:
eups declare -r /path/to/ics_agActor ics_agActor git setup -r /path/to/ics_agActor -
The package's EUPS table file (
ups/ics_agActor.table) will automatically set up the required dependencies within the LSST stack environment:- ics_actorkeys
- ics_utils
- pfs_instdata
- pfs_utils
Alternatively, you can install the package using pip:
-
Clone the repository:
git clone https://github.com/Subaru-PFS/ics_agActor.git -
Install the package:
cd ics_agActor pip install -e .
The actor is typically started as a service in the PFS ICS environment using the sdss-actorcore tools.
python/agActor/: Main source codemain.py: Actor entry point and core functionalityautoguide.py: Auto-guiding implementationfield_acquisition.py: Field acquisition functionalityCommands/: Command handlers for actor commandsControllers/: Hardware controllerscatalog/: Star catalog integrationastrometry.py: Astrometric calculationsgen2_gaia.py: GAIA catalog interfacepfs_design.py: PFS design file handling
coordinates/: Coordinate transformationsFieldAcquisitionAndFocusing.py: Field acquisition and focusing utilitiesSubaru_POPT2_PFS_AG.py: Subaru telescope coordinate transformations
models/: System component modelsagcc.py: AG Camera Controller modelgen2.py: Gen2 system modelmlp1.py: MLP1 model
utils/: Utility functionsactorCalls.py: Actor communication utilitiesdata.py: Data handling utilitiesfocus.py: Focus-related utilitieslogging.py: Logging utilitiesmath.py: Mathematical utilitiesopdb.py: Operational database interfacetelescope_center.py: Telescope centering utilities
- astropy: Astronomical calculations
- fitsio: FITS file handling
- numpy: Numerical computations
- psycopg2-binary: PostgreSQL database connector
- sdss-opscore: SDSS operations core framework
- sdss-actorcore: SDSS actor framework
- pfs-utils: PFS utilities
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This project follows semantic versioning. See the CHANGELOG.md for version history and recent changes.
This project is part of the Subaru Prime Focus Spectrograph (PFS) project and is subject to the licensing terms of the PFS collaboration.
For questions or issues related to this software, please contact the PFS software team or create an issue in the repository.