cbassa / stvid

Satellite tracking with video cameras
GNU General Public License v3.0
70 stars 13 forks source link

"acquire" from existing FITS #66

Closed mgrutten closed 2 years ago

mgrutten commented 2 years ago

I have a set of FITS files that I'd like to process with STVID. As far as I can tell that isn't possible at the moment? Would it be possible to create a FITS "camera" that loads from a sequence of files, rather than doing a live capture?

cbassa commented 2 years ago

Yes, it is possible to write a tool to combine a sequence of FITS files (or any image format) into the FITS files that STVID can read. For STVID to process the resulting files and produce sensible results, the timestamps of the individual frames need to be reasonably accurate and the satellites should not trail significantly within the individual exposures.

mgrutten commented 2 years ago

Great! Thanks for the quick response. I started hacking something to take a fits, based on the compress function in "acquire". In hindsight it's obvious from your comment, but I've realised that I have the wrong type of data. I have long exposures (30s, staring in a fixed direction for GEO). If I set zmax and zavg as the (single) frame data, znum and zstd as zeros, will "process" do something sensible, or am I out of luck?

cbassa commented 2 years ago

Unfortunately the znum and zstd frames are required for the processing to work, as the algorithm is designed for satellites that move fast through the field-of-view. Hence, this kind of data for geostationary satellites will not work with stvid.

My sattools repo (https://github.com/cbassa/sattools) has functionality for analyzing this kind of data, so you can try that out. Send me an email if you have questions, as it has a quite steep learning curve.

mgrutten commented 2 years ago

Email sent and challenge accepted! Thanks!