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

Serialize SpectralRegion for file read/write? #917

Closed
pllim opened this issue Jan 27, 2022 · 0 comments · Fixed by #1133
Closed

Serialize SpectralRegion for file read/write? #917

pllim opened this issue Jan 27, 2022 · 0 comments · Fixed by #1133
Labels

Comments

@pllim
Copy link
Member

pllim commented Jan 27, 2022

@PatrickOgle and @orifox want to read/write spectral region files, not unlike spectral equivalent of "DS9 region files" into Jdaviz.

Currently, I cannot find any methods that allow serialization of SpectralRegion, except maybe from astropy.table.QTable, which does not seem very flexible.

def from_line_list(cls, table, width=1):

cc @rosteen

🐱

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

Successfully merging a pull request may close this issue.

1 participant