Uploaded image for project: 'DRP 1D pipeline'
  1. DRP 1D pipeline
  2. PIPE1D-23

Updating stellar templates in the calibration files

    XMLWordPrintable

    Details

      Description

      I'm running "tickets/PIPE1D-17" branch of drp_1dpipe (0.14.0_rc2) with an input stellar spectrum and with calibration files from "datapack_0.14.0_rc2". In the calibration files, stellar templates are stored in stars_templates_vlba37_2018 and specified in "calibration/calibration_config.txt". These templates have low spectral resolution (R<1000?) and with a wavelength sampling (~5 angstroms). For line-of-site velocity measurements in the GA science, we would need a higher resolution (R~5000) with a denser wavelength sampling. 

      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

       

       

       

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlebrun vlebrun
                Reporter:
                ishigaki ishigaki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: