Commit Graph

14 Commits (spacecruft)

Author SHA1 Message Date
Cees Bassa 91b6304c3a Minor change 2022-03-29 14:57:36 +02:00
Chris Lewicki b7056d9329 Implements parallel processing of satobs, where multiple-threads are available
About 2x faster on a 2-core system, and 3-4x faster on an 8-core system
A balance between regular user feedback and maximum usage of CPUs results
in less-than-fastest possible performance.

For fastest performance, increase chunk size to a value larger than cpu_count.
(Perhaps make this a parameter?)

process.py
 - Implements a multiprocess worker pool of size os.cpu_count()
 - Batches processes in size os.cpu_count()
 - Creates pixel_catalog file using source FITS filename, instead of "test.cat"  - Forces single-threaded astropy IERS table update, if needed
 - Receives all file and screen output from children, so that it can be output
   in the order of the files processed
 - Changes display order of FITS file being processed (first) followed by
   SATIDs within
 - Adds temporary notice of empty input queue
 - Adds description of screen color codes

astrometry.py
 - Adds fall-back method of shutil.copyfile if PermissionError from copy2

extract.py
 - Removes terminal output, and instead returns results to calling processes
 - Tightens up file/io loops

satellite.py
 - Saves hough3dlines output to unique tmp file instead of /tmp/hough.dat
 - Removes temp file after processing
 - Adds FIXME note to review for unnecessary code

stars.py
 - Generates star catalog directly to destination file
 - Updates sextractor call to reference destination instead of tmp file
2019-12-12 14:54:46 -08:00
Cees Bassa 6eae028f5c Fix bug for nan in rms calculation 2019-11-13 17:37:07 +01:00
Cees Bassa b48b02b8ee Propagate sidereal tracking through FITS files 2019-11-10 13:24:37 +01:00
interplanetarychris 2cf9682be5 Cfg option to use tracking mount 2019-11-09 23:16:50 -08:00
Pierros Papadeas a313c5c08a Flake8 fixes
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-08-09 20:04:33 +03:00
Pierros Papadeas 66398416a6 Add tyc2.fits catalogue
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-08-09 20:03:12 +03:00
Pierros Papadeas d753ce4695 Fixed configuration and README
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-08-03 17:37:29 +03:00
Cees Bassa 911da42c47 Use solve-field only once per pointing 2019-07-30 21:28:06 +02:00
Cees Bassa 562fcf0f3d Basic implementation of automatic astrometry with solve-field 2019-07-28 13:39:21 +02:00
Pierros Papadeas 0149ebc60d Fix in solve-field
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-07-22 13:30:53 +03:00
Pierros Papadeas 550399a360
Add calibrate.py for astrometric solving 2019-05-12 17:33:00 +03:00
Cees Bassa a1ec6d199a Added path for results, colors for astrometric calibration 2019-05-04 23:05:24 +02:00
Pierros Papadeas 96389ccdc8
Restructure repository and pep8 changes
Also all executables now use argparse for arguments and helpers.
2018-05-06 17:45:51 +03:00