panoptes / panoptes-utils

A set of Astronomical utility functions. PANOPTES style. :hammer_and_wrench: :telescope: :stars:
https://panoptes-utils.readthedocs.io
MIT License
4 stars 9 forks source link

CR2 to FITS cli #291

Closed wtgee closed 2 years ago

wtgee commented 2 years ago

Adds a cli interface for converting Canon .CR2 files into FITS files and for plate-solving FITS file.

Should be improved in the future to, e.g. take an optional metadata file that could be merged into the headers.

Also adds types to the cr2_to_fits command and also allows it to accept Path.

Other f-string cleanup.

See panoptes-utils image --help for commands.

codecov[bot] commented 2 years ago

Codecov Report

Merging #291 (373bb4b) into develop (f010846) will increase coverage by 0.09%. The diff coverage is 66.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #291      +/-   ##
===========================================
+ Coverage    75.78%   75.87%   +0.09%     
===========================================
  Files           26       27       +1     
  Lines         1792     1807      +15     
===========================================
+ Hits          1358     1371      +13     
- Misses         434      436       +2     
Impacted Files Coverage Δ
src/panoptes/utils/images/fits.py 53.30% <50.00%> (-0.40%) :arrow_down:
src/panoptes/utils/images/cr2.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f010846...373bb4b. Read the comment docs.