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

Only pass instrument loader #120

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

KriSun95
Copy link
Collaborator

@KriSun95 KriSun95 commented Oct 2, 2023

Separate more of the instrument specific code from the more general fitting code. Remove the ability to pass files and dictionaries directly to the fitter. instead, the files (or dictionaries) can be passed to instrument specific (or custom) loaders and then passed to the fitting code.

This is to address #119 in order to support a more modular approach to the code and reduce complexity (also pointed out in #107).

@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Files Coverage Δ
sunxspex/sunxspex_fitting/data_loader.py 17.04% <88.88%> (-1.39%) ⬇️
sunxspex/sunxspex_fitting/fitter.py 54.10% <66.66%> (ø)

📢 Thoughts on this report? Let us know!.

@settwi
Copy link
Contributor

settwi commented Jun 17, 2024

how about we implement this in "legacy"?
might make our lives nicer down the road :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants