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

Backlog v1 -> v2 migration #184

Open
3 tasks
georgievgeorgi opened this issue Nov 6, 2024 · 0 comments
Open
3 tasks

Backlog v1 -> v2 migration #184

georgievgeorgi opened this issue Nov 6, 2024 · 0 comments

Comments

@georgievgeorgi
Copy link
Contributor

georgievgeorgi commented Nov 6, 2024

  • Separate functionalities in a separate functions. Decorators that add methods to Spectrum cause problems. Methods should be included directly in the Spectrum definition
    • pure functions
    def fn(x: list | array_like, y: list | array_like, **kwargs) -> list | array_like
    • interface functions using spectrum
    def fn(in_spe: Spectrum, **kwargs) -> Spectrum | array_like | Any
    • Spectrum methods
    def fn(self: Spectrum, **kwargs) -> Spectrum | array_like | Any
  • Simplify names of find_peak and fit_peak functions
  • Remove SpectralComponents (deprecated)
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

No branches or pull requests

1 participant