Commit Graph

40 Commits (spacecruft)

Author SHA1 Message Date
Jeff Moe 1d549b6237 Merge upstream Use location from FITS header if available 2022-08-24 19:59:23 -06:00
Jeff Moe 85afd128ac Add latest changes from cbassa dev branch 2022-08-22 13:35:01 -06:00
Cees Bassa 91b6304c3a Minor change 2022-03-29 14:57:36 +02:00
Cees Bassa d4a64c9c0d Revert changes 2021-10-24 09:11:14 +02:00
Cees Bassa 09b5116f69 Read COSPAR designations from TLEs (fixes #58) 2020-02-21 18:50:12 +01:00
Cees Bassa 72e3ab1881 Update plotting of identified tracks 2020-01-02 23:16:02 +01:00
Cees Bassa 617d3f5160 Sort diagnostic plots by NORAD ID 2020-01-02 22:10:13 +01: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 31018e8fcb Select on angular velocity (minimum and maximum). Fixes #50 2019-11-30 16:50:20 +01: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
Cees Bassa 18d5759ef4
Merge branch 'master' into feature/tracking_mount 2019-11-10 12:48:16 +01:00
interplanetarychris 2cf9682be5 Cfg option to use tracking mount 2019-11-09 23:16:50 -08:00
interplanetarychris b5cba659e4 Fallback to copyfile if copy2 has permission errs 2019-11-09 22:43:06 -08:00
Cees Bassa 995f7d5f09 Finetuned parameters 2019-09-21 14:49:19 +02:00
Cees Bassa 54b3baf681 Move processing parameters to config file (fixes #32) 2019-09-21 14:26:50 +02:00
Cees Bassa a6344f628a Minor changes 2019-08-11 18:55:05 +02: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 569b840dc0 Store calibration file and reinstate test for astrometry 2019-08-02 22:15:24 +02:00
Cees Bassa 911da42c47 Use solve-field only once per pointing 2019-07-30 21:28:06 +02:00
Pierros Papadeas 6da82ff94d Add logging on console and ASI fixes 2019-07-28 17:55:35 +03:00
Cees Bassa 562fcf0f3d Basic implementation of automatic astrometry with solve-field 2019-07-28 13:39:21 +02:00
Cees Bassa 134c0e702f Changed storage of results 2019-07-28 10:43:57 +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
Cees Bassa 8d3536e2b3 Log classified objects which were not seen 2019-07-08 17:22:54 +02:00
Cees Bassa 0b2c6c2efe Fixed moving of files 2019-07-08 16:04:13 +02: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
Cees Bassa eaba87e686 Port to python 3 2019-04-28 11:01:31 +02:00
Cees Bassa 001ee131f1 Different elevations for sunrise/sunset (fixes #13) 2019-04-27 12:10:32 +02:00
Cees Bassa 52864f2269 Fix rounding errors (fixes #9) 2019-04-22 17:16:30 +02:00
Cees Bassa 2a21c6f2a8 Compute proper COSPAR ID for unknowns 2019-04-22 17:09:38 +02:00
Cees Bassa e3bd765437 Added extraction logic/routines 2019-04-22 16:42:07 +02:00
Cees Bassa 783558e640 Sanitized 3D Hough transform 2019-04-22 16:11:46 +02:00
Cees Bassa 029da7aacd Added closing of FITS file 2019-04-22 16:10:40 +02:00
Pierros Papadeas eedac86f08
Fix pycodestyle errors 2018-07-22 10:36:20 +03:00
Cees Bassa 658cc9e7c3 Rudimentary satellite predictions and line identification 2018-05-07 22:19:05 +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