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

Lines labelling #62

Merged
merged 7 commits into from
Sep 4, 2024
Merged

Lines labelling #62

merged 7 commits into from
Sep 4, 2024

Conversation

dvezinet
Copy link
Collaborator

@dvezinet dvezinet commented Sep 3, 2024

Main changes:

  • requires datastock >= 0.0.40 (next release), or devel branch past PR 161
  • tutorial now returns coll, dax, dout
  • get_spectral_lines_labels(keys=list, labels=str or dict, colors=str or dict) implemented
  • plot_spectral_fit(lines_labels=str or dict) implemented with good customization options
    • labels can be customized
    • colors can be customized
    • works with time-dependent spectra (dynamic positioning)

Issues:

Fixes, in devel, issue #54

TODO: #63

Examples:

import spectrally as sp
coll, dax, dout = sp.tutorials.main(data='ebit', chain=False, binning=False)

image

@dvezinet dvezinet marked this pull request as draft September 3, 2024 17:21
@dvezinet dvezinet marked this pull request as ready for review September 4, 2024 10:58
@dvezinet dvezinet merged commit 8cba1c8 into devel Sep 4, 2024
9 checks passed
@dvezinet dvezinet deleted the Issue054_LinesLabelling branch September 4, 2024 10:59
@dvezinet dvezinet mentioned this pull request Sep 5, 2024
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.

1 participant