Commit Graph

41 Commits (41ff616c27971a686ced395e9df0449903ef3eff)

Author SHA1 Message Date
Cees Bassa 41ff616c27 Reduced wait time 2022-04-02 12:59:37 +02:00
Cees Bassa 09b5116f69 Read COSPAR designations from TLEs (fixes #58) 2020-02-21 18:50:12 +01:00
Cees Bassa 50f7cf5c55 Allow results to be written in original directory 2020-01-02 21:47:22 +01:00
Cees Bassa f9e4c741e4 Catch absence of IOD lines 2020-01-02 21:32:18 +01:00
Chris Lewicki e0ef2980b9 Fix crashing when no idents exist 2019-12-31 07:12:46 -08: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 b48b02b8ee Propagate sidereal tracking through FITS files 2019-11-10 13:24:37 +01:00
Cees Bassa 4ef6db28c9 Rename observer elevation to height 2019-11-10 12:52:00 +01:00
interplanetarychris 2cf9682be5 Cfg option to use tracking mount 2019-11-09 23:16:50 -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
Pierros Papadeas 1c467d2f7b Move cal files too
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-08-09 20:33:47 +03:00
Pierros Papadeas a313c5c08a Flake8 fixes
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2019-08-09 20:04:33 +03:00
Cees Bassa 569b840dc0 Store calibration file and reinstate test for astrometry 2019-08-02 22:15:24 +02:00
Cees Bassa cbfa0c5ee3 Merge branch 'master' of https://github.com/cbassa/stvid 2019-08-02 21:53:58 +02:00
Cees Bassa de60c77411 Expand input path 2019-08-02 21:53:55 +02:00
Agis Zisimatos e97b72e7fb Fix wrong check for test.fits file
The condition becomes true when the file test.fits
does not exist.

Signed-off-by: Agis Zisimatos <agzisim@gmail.com>
2019-08-02 21:40:28 +03: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 ae7fe7c9ce Small adjustment 2019-07-28 11:44:06 +02:00
Cees Bassa 134c0e702f Changed storage of results 2019-07-28 10:43:57 +02: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
Cees Bassa 8c1ff9fd0a Overwrite when moving files 2019-07-08 15:21:34 +02:00
Cees Bassa 02b12e45f5 Exit gracefully on ctrl-c 2019-07-08 15:07:26 +02:00
Cees Bassa f2ba0a9ee3 Misc changes 2019-07-08 15:04:12 +02:00
Cees Bassa 92b4526b38 Changed results path 2019-07-08 14:59:34 +02:00
Cees Bassa 417a007312
Merge branch 'master' into initial-astrometry 2019-05-12 17:15:24 +02:00
Cees Bassa 84140cf28c Minor changes 2019-05-12 17:11:35 +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 cb487ae9dd Realtime functionality 2019-04-27 12:38:27 +02:00
Cees Bassa d765dc1488 Added Hough identification 2019-04-22 16:42:43 +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
Cees Bassa a2e8c4a600 os.path.join goodness and PEP8 fixes 2018-05-07 16:24:01 +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
Cees Bassa d07d6ffc1e Rudimentary processing functions 2018-05-01 09:35:34 +02:00