[PIPE1D-23] Updating stellar templates in the calibration files Created: 14/Sep/20 Updated: 25/Sep/20 Resolved: 25/Sep/20 |
|
| Status: | Done |
| Project: | DRP 1D pipeline |
| Component/s: | drp_1d, drp_1dpipe |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | ishigaki | Assignee: | vlebrun |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
I'm running "tickets/ It would be great if you could include stellar templates with a higher spectral resolution and with a wavelength sampling of 0.5-1 angstroms. The Xshooter library seems to be suitable in terms of the wavelength coverage and the spectral resolution. Alternatively, is it possible to use a set of custom templates in the current pipeline? I have tried to run the code with a custom template contained in a directory specified in calibration/calibration_config.txt. I got messages attached below. I'm sorry if I missed something but your suggestions are very helpful.
*************************************************** Traceback (most recent call last): File "/Users/ishigakimiho/opt/anaconda2/envs/py36/lib/python3.6/site-packages/drp_1dpipe/merge_results/merge_results.py", line 86, in main_method amazed_results.read() File "/Users/ishigakimiho/opt/anaconda2/envs/py36/lib/python3.6/site-packages/drp_1dpipe/process_spectra/results.py", line 92, in read raise FileNotFoundError("No redshift summary file detected : {}".format(path)) FileNotFoundError: No redshift summary file detected : /Users/ishigakimiho/PFS/pipeline/GAtest/drp1d_spectra_20200914T111536Z/B0/redshift.csv
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/ishigakimiho/opt/anaconda2/envs/py36/bin/merge_results", line 8, in <module> sys.exit(main()) File "/Users/ishigakimiho/opt/anaconda2/envs/py36/lib/python3.6/site-packages/drp_1dpipe/merge_results/merge_results.py", line 135, in main return main_method(config) File "/Users/ishigakimiho/opt/anaconda2/envs/py36/lib/python3.6/site-packages/drp_1dpipe/merge_results/merge_results.py", line 89, in main_method raise FileNotFoundError("Redshift summary file not found in {}".format(bunch)) FileNotFoundError: Redshift summary file not found in /Users/ishigakimiho/PFS/pipeline/GAtest/drp1d_spectra_20200914T111536Z/B0 warning: can't delete /Users/ishigakimiho/PFS/pipeline/GAtest/drp1d_spectra_20200914T111536Z/B0/pfsObject-000-00000-0,0-0000000000000001-001-0x8cf7641568bdb4ab
|
| Comments |
| Comment by Ali Allaoui [ 23/Sep/20 ] |
|
Hi Miho Ishigaki, 1) When you add a new catalog of templates, you have to create two directories : calibration/templates/<template_catalog_name>/star and copy the templates in it 2) The format is TSV (tab separated values) with '#' for line comments and no headers 3) The unit of flux is any multiple of erg.s-1.cm-2.angstrom-1 4) Wavelength coverage : with input spectrum wavelength coverage as [lambda_min,lambda_max], template wavelength coverage must be at least [lambda_min/(1+1E-3) , lambda_max/(1-1E-3)] 5) For spectral resolution and wavelength sampling, no special requirements, they must be at least equivalent to PFS resolution The informations will be in next release MANUAL.md |
| Comment by ishigaki [ 24/Sep/20 ] |
|
Thanks a lot for your comments! The code successfully choses the custom stellar template for a stellar spectrum in the chi2 solver. |