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
Provide wrapper to instantiate model spectrum #41
Comments
Related to this ticket, @Ragadeepika-Pucha has asked how to generate the standard QA for First, clone a local copy of the repository (be sure to clone by SSH if you want to develop/contribute):
then do the following (which can be put in a simple shell script):
and then run it! E.g., to reproduce the plots from #50 do:
Note that you must specify the full-path location to either a Also: if the For the record, here are all the options of the QA code (which needs to be documented better, as always):
|
This is great, @moustakas ! My only question so far is how to specify unique spectra when there are several healpix-spectra for a given TARGETID? The combination of identifiers is TARGETID,SURVEY,FAPRGRM to find unique spectra but having all 3 doesn't seem to be an expected input. EDIT: I consider those three columns together as the unique identifier. So when I use the fastspecfit catalogs, I pull |
@stephjuneau -- the above script takes the fastspecfit filename as input -- which is unique for a given @moustakas -- can you point me to where the code for this is written? Is it okay if I use that code and manipulate it a bit to suit my requirement? Thank you. |
@moustakas - i tried what you mentioned above, but it is giving the following error - |
@Ragadeepika-Pucha @stephjuneau @biprateep I've decided to implement this feature request by writing out the best-fitting models with the Here's one simple example based on a test run. After I wrote out these instructions I decided to add
|
It will be helpful to provide a wrapper to take a data table with the continuum coefficients as inputs and instantiate the best fit model spectrum for both photometry only (FASTPHOT) and spectra only (FASTSPEC) fits.
This can help with science cases like (but not limited to):
The text was updated successfully, but these errors were encountered: