panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
80 stars 49 forks source link

Compound observations and scheduler cleanup #1152

Closed wtgee closed 3 years ago

wtgee commented 3 years ago

A compound observation currently supports multiple exposure times per observe. This would mostly be used for some HDR images where multiple exptime per observatory.observe are desired.

Also includes some clean up to the scheduler as well as the addition of a from_dict class method.

Taken from #1150

codecov[bot] commented 3 years ago

Codecov Report

Merging #1152 (a369670) into develop (4908119) will decrease coverage by 1.03%. The diff coverage is 77.97%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1152      +/-   ##
===========================================
- Coverage    83.08%   82.04%   -1.04%     
===========================================
  Files           86       87       +1     
  Lines         7425     7487      +62     
  Branches       635      645      +10     
===========================================
- Hits          6169     6143      -26     
- Misses        1083     1167      +84     
- Partials       173      177       +4     
Impacted Files Coverage Δ
src/panoptes/pocs/camera/gphoto/base.py 100.00% <ø> (ø)
src/panoptes/pocs/camera/gphoto/remote.py 20.75% <0.00%> (-0.82%) :arrow_down:
src/panoptes/pocs/mount/mount.py 67.20% <0.00%> (-3.99%) :arrow_down:
...rc/panoptes/pocs/state/states/default/analyzing.py 41.17% <0.00%> (-18.83%) :arrow_down:
src/panoptes/pocs/state/states/default/tracking.py 26.66% <0.00%> (-56.67%) :arrow_down:
src/panoptes/pocs/utils/logger.py 100.00% <ø> (ø)
tests/test_theskyx_utils.py 92.85% <ø> (ø)
src/panoptes/pocs/camera/__init__.py 62.36% <46.15%> (-8.43%) :arrow_down:
src/panoptes/pocs/camera/camera.py 84.49% <50.00%> (ø)
src/panoptes/pocs/scheduler/__init__.py 93.47% <50.00%> (-6.53%) :arrow_down:
... and 20 more

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 c44d6bf...a369670. Read the comment docs.