Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScopeSimple #426

Merged
merged 4 commits into from
Sep 30, 2024
Merged

ScopeSimple #426

merged 4 commits into from
Sep 30, 2024

Conversation

teutoburg
Copy link
Contributor

@teutoburg teutoburg commented Jun 3, 2024

New top-level User Interface, as presented at the METIS Science Team Meeting.

@teutoburg teutoburg self-assigned this Jun 3, 2024
@teutoburg teutoburg added enhancement New feature or request API How users interact with the software labels Jun 3, 2024
Copy link

codecov bot commented Jun 3, 2024

Codecov Report

Attention: Patch coverage is 81.25000% with 24 lines in your changes missing coverage. Please review.

Project coverage is 76.59%. Comparing base (910d65a) to head (1ab6605).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
scopesim/commands/scopesimple.py 87.35% 11 Missing ⚠️
scopesim/server/database.py 31.25% 11 Missing ⚠️
scopesim/effects/electronic/exposure.py 93.75% 1 Missing ⚠️
scopesim/optics/optics_manager.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
+ Coverage   76.53%   76.59%   +0.05%     
==========================================
  Files          65       66       +1     
  Lines        7970     8091     +121     
==========================================
+ Hits         6100     6197      +97     
- Misses       1870     1894      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@teutoburg
Copy link
Contributor Author

Closes #388

@teutoburg teutoburg linked an issue Jun 4, 2024 that may be closed by this pull request
@teutoburg teutoburg added this to the METIS Science Team Meeting milestone Jun 4, 2024
@teutoburg teutoburg force-pushed the scopesimple-1 branch 3 times, most recently from 34794a6 to f412f5b Compare June 7, 2024 13:20
Include modes argument

Plot improvements

Typing, docstrings, reprs

Don't pass [None], just None

Download missing packages

Pass initial dit & ndit = None, this is an IRDB problem...

Allow slice and kwargs for plot

Improve plot method

Add optional readout method

Move download functionality to the right module

Refactoring, docstrings and cleanup

Increase coverage
Catch case of no DIT or NDIT to avoid weird error

Improve handling of MINDIT

Pass kwargs to detector effects

These now pass
@teutoburg teutoburg marked this pull request as ready for review September 30, 2024 12:20
@teutoburg
Copy link
Contributor Author

This is not fully functional yet, mostly because of #464. I'd still suggest merging this PR, as it passes now, to avoid this getting further out of sync, and then fully implementing it once the DIT/NDIT stuff is properly fixed...

Copy link
Collaborator

@hugobuddel hugobuddel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better get this in indeed

@teutoburg teutoburg merged commit 1a3a7f5 into main Sep 30, 2024
22 checks passed
@teutoburg teutoburg deleted the scopesimple-1 branch September 30, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API How users interact with the software enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Create top-level user interface
2 participants