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

spaxel object has no attribute spectrum #342

Closed
havok2063 opened this issue Feb 20, 2018 · 1 comment
Closed

spaxel object has no attribute spectrum #342

havok2063 opened this issue Feb 20, 2018 · 1 comment
Assignees
Labels
bug a general bug or other breaking feature marvin-tools an issue related to the suite of Marvin Python Tools vetting indicates issues found during dedicated vetting sessions
Milestone

Comments

@havok2063
Copy link
Collaborator

Ivan
Tool - Spaxel
Attribute Error: 'Spaxel' object has no attribute 'spectrum'

Ivan - 'Spaxel' object has no attribute 'spectrum':

  • get spaxel. E.g. spaxel = cube[5,5] Out[]: <Marvin Spaxel (plateifu=8485-1901, x=5, y=5; x_cen=-12, y_cen=-12)>
  • type spaxel.spectrum or spaxel.spectrum.wavelength
  • Attribute Error: 'Spaxel' object has no attribute 'spectrum.'
  • It works if one uses "flux" instead of "spectrum" (e.g. spaxel.flux.wavelength).
  • Please, update this into the documentation in pages such as ​displaying plots and ​My first cube.
@havok2063 havok2063 added bug a general bug or other breaking feature marvin-tools an issue related to the suite of Marvin Python Tools vetting indicates issues found during dedicated vetting sessions labels Feb 20, 2018
@havok2063 havok2063 added this to the Feedback milestone Feb 20, 2018
@havok2063 havok2063 self-assigned this Feb 20, 2018
@albireox albireox self-assigned this Feb 26, 2018
@havok2063
Copy link
Collaborator Author

I think these are all fixed now in the documentation pieces mentioned. I couldn't find any other traces in the docs using the old spectrum syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a general bug or other breaking feature marvin-tools an issue related to the suite of Marvin Python Tools vetting indicates issues found during dedicated vetting sessions
Projects
None yet
Development

No branches or pull requests

2 participants