Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
old_usage [2014/01/15 12:32]
admin created
old_usage [2014/01/15 12:34] (current)
admin [Usage of the lightcurve fitter]
Line 4: Line 4:
 For code version 2.0 (old release) For code version 2.0 (old release)
  
-[[usage|go here for other versions]]+[[usage|go here for recent ​versions]]
  
 ===== Setup of model data ===== ===== Setup of model data =====
Line 96: Line 96:
 ===== Usage of the lightcurve fitter ===== ===== Usage of the lightcurve fitter =====
  
-By default SALT1 is used. Use option -m salt2 for SALT2. +By default SALT1 is used. Use option ​''​-m salt2'' ​for SALT2. 
-Options -e and -k permit to propagate the model uncertainties (diagonal and k-correction uncertainties,​ see section 6 of the paper).+Options ​''​-e'' ​and ''​-k'' ​permit to propagate the model uncertainties (diagonal and k-correction uncertainties,​ see section 6 of the paper).
  
-snfit lightcurve1 lightcurve2 ...  +  ​snfit lightcurve1 lightcurve2 ...  
--s spectrum_file_name ​   : fit this spectrum as well +  -s spectrum_file_name ​   : fit this spectrum as well 
--m modelname ​            : salt or salt2, default is salt(1) +  -m modelname ​            : salt or salt2, default is salt(1) 
--1                       : only one obsevred band fitted  +  -1                       : only one obsevred band fitted  
--2                       : max 2 observed band fitted  +  -2                       : max 2 observed band fitted  
--3                       : max 3 observed band fitted  +  -3                       : max 3 observed band fitted  
--r  phasemin phasemax ​   : range of phases to be fitted (default is -15,+40) +  -r  phasemin phasemax ​   : range of phases to be fitted (default is -15,+40) 
--f stretch/​color/​daymax/​X1/​gtype ...        : fix a value  +  -f stretch/​color/​daymax/​X1/​gtype ...        : fix a value  
--p stretch/​color/​daymax/​... ​     : add a prior  +  -p stretch/​color/​daymax/​... ​     : add a prior  
--f X{0,​1,​2,​3,​4} ​ value   : for salt2 +  -f X{0,​1,​2,​3,​4} ​ value   : for salt2 
--z                       : fit redshift +  -z                       : fit redshift 
--i z value               : initial value of redshift +  -i z value               : initial value of redshift 
--c #                     : number of calib. params. for spectra (def 1) +  -c #                     : number of calib. params. for spectra (def 1) 
--w wmin wmax             : allow SALT1/2 to fit in this wavelength range +  -w wmin wmax             : allow SALT1/2 to fit in this wavelength range 
--e                       : use (diagonal) model uncertainties in chi2  +  -e                       : use (diagonal) model uncertainties in chi2  
--E                       : apply error floor for nearby SNe  +  -E                       : apply error floor for nearby SNe  
--k                       : use k-correction uncertainties in chi2  +  -k                       : use k-correction uncertainties in chi2  
--U  #                    : add obs. U-band calib. error +  -U  #                    : add obs. U-band calib. error 
--M                       : run minos at the end+  -M                       : run minos at the end