Skip to content

Spatially-Resolved Mass-Metallicity Relation exercise help #778

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

Closed
TheRealEKL opened this issue Jul 11, 2022 · 3 comments · Fixed by #779
Closed

Spatially-Resolved Mass-Metallicity Relation exercise help #778

TheRealEKL opened this issue Jul 11, 2022 · 3 comments · Fixed by #779

Comments

@TheRealEKL
Copy link

Hello,

In the Spatially-Resolved Mass-Metallicity Relation solution, in the Compute Stellar Mass Surface Density section, the CSV file for reading in the Firefly data for stellar mass doesn't exist anymore. I downloaded the Firefly VAC fits file, read it into a CSV but I am unsure of how to proceed. With this data, the only thing I am trying to do is to get the stellar mass (which is the next step in the exercise). Would really appreciate some help on this, thank you!

@havok2063
Copy link
Collaborator

@TheRealEKL The link is broken in the notebook, but not broken from the front page of the exercise tutorials, https://sdss-marvin.readthedocs.io/en/latest/tutorials/exercises.html. Click the Data link and it should download the CSV file used in the notebook.

That being said, the CSV file is just a subset of what is in the main FIREFLY file, so if you've already downloaded the VAC you can adapt the notebook to load sample data from the file itself. The format of the example CSV file is a map slice containing the stellar mass measurements, i.e. the number of columns and rows are the spatial array indices, and the values are the measurements. So the mstar variable in the notebook should be a 2d array when read in.

@TheRealEKL
Copy link
Author

ahhhh I see! Thank you very much, got it working. Going to work on maneuvering around the FIREFLY data, thank you again!

@TheRealEKL
Copy link
Author

@havok2063 I have been trying to recreate the CSV file (with different PlateIFU's) and I'm having some trouble. I've loaded the FITS file, but I am stuck on how to locate a specific PlateIFU's values for stellar mass. Every time I try to just load the "STELLAR_MASS_VORONOI" extension into a CSV I get an error about not being able to send a multidimensional array into a CSV file. I would really appreciate if you could offer some insight on how to locate a specific galaxies stellar mass and reading it into a CSV file. And as always, thank you for being so helpful.

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 a pull request may close this issue.

2 participants