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

Make SpectralSource instantiable #273

Open
2 of 5 tasks
mkelley opened this issue Mar 9, 2021 · 0 comments
Open
2 of 5 tasks

Make SpectralSource instantiable #273

mkelley opened this issue Mar 9, 2021 · 0 comments
Labels
feature request request for new functionality

Comments

@mkelley
Copy link
Member

mkelley commented Mar 9, 2021

This is a request for

  • a new feature
  • an enhancement to existing sbpy functionality
  • somethings else: [explain here]

The requested changes will be implemented by

  • me
  • the sbpy developers

High-level concept
Make SpectralSource instatiable to more easily enable creating sources.

Proposal details
Possibly required for #272

Example (pseudo-)code
spec = SpectralSource.from_array(np.linspace(1, 10) * u.um, np.ones(10) * u.W / u.m**2 / u.um)

@mkelley mkelley added the feature request request for new functionality label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request request for new functionality
Projects
None yet
Development

No branches or pull requests

1 participant