Closed interplanetarychris closed 1 year ago
Some thoughts about implementing this.
BITPIX is included, as it comes with the data.
A few of these should be specified in the configuration file, which means it is up to the user to ensure that these are correct. This is a bit tricky, as there is nothing more annoying that metadata which is wrong; it would be better to have it absent in that case.
For ASI cameras the CCD parameters can be gotten from the camera when it is initialized, though that is currently compilcated as the cameras are initialized within the capture thread, and hence the information would need to be moved between the capture and compress threads. Perhaps a manager
would work here (https://docs.python.org/3/library/multiprocessing.html#sharing-state-between-processes), though we could also try to move camera initialization to the main thread, which could help with #40.
It looks like there are some tools that can manipulate FITS headers the way id3tag (et al.) can do for mp3 files. Would batch-editing some of the headers after a capture session be at all useful?
Perhaps only for backwards compatibility. Of the parameters that @interplanetarychris suggests only the observing location parameters can actually be used if a site code is absent. The rest is more for information.
Added site information in https://github.com/cbassa/stvid/commit/5497433078bcab530377c3de31bd250dadd2c442
In the acquire/calibrate/process flow, add available known values to the FITS files (in satobs, or results folders, as appropriate) where convenient.
Some of these might require config keywords, others might be derived from camera drivers, sextractor/astrometry.net or other calculation.
Potential list of items (derived from INDI/Ekos example imaging)