SatelliteCameraViewer.SatelliteCamera.fits_stars module
fits_stars.py
Star catalog from FITS
- SatelliteCameraViewer.SatelliteCamera.fits_stars.load_star_catalog_from_fits(fits_path: str, ra_col: str = 'RA', dec_col: str = 'DEC')[source]
Load a simple star catalog from a FITS table. Assumes columns named RA/DEC (or user-specified) in degrees. Returns an astropy SkyCoord object.
- SatelliteCameraViewer.SatelliteCamera.fits_stars.match_stars_in_image(camera: CameraIntrinsics, attitude: CameraAttitude, obs_time: datetime, star_catalog: SkyCoord, px_grid_step: int = 200)[source]
Very rough scaffold: - Sample a grid of pixels across the image - Convert each to RA/Dec - Compare to catalog to see which stars fall near those directions
This is NOT a full plate-solver; it’s just a starting point.