Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usage [2015/01/08 16:59]
admin [Setup of model data]
usage [2015/01/08 17:58] (current)
admin [Other tools]
Line 6: Line 6:
  
 ===== Complete installation scripts ===== ===== Complete installation scripts =====
 +
 +<color orange> Recommended if you are not familiar with the package organization and want to reproduce published results.</​color>​
 +
 Download one of the following scripts in the directory where you want to install the package and execute it (you need to do a ''​chmod u+x xxx-installation.sh''​ first, you also need to have ''​wget''​ installed). Download one of the following scripts in the directory where you want to install the package and execute it (you need to do a ''​chmod u+x xxx-installation.sh''​ first, you also need to have ''​wget''​ installed).
  
Line 77: Line 80:
 Rui : 'For compilation on my Mac (and hence on the homebrew formula) I had to force $LDFLAGS with "​-L/​path/​to/​libgfortran -lgfortran"'​ Rui : 'For compilation on my Mac (and hence on the homebrew formula) I had to force $LDFLAGS with "​-L/​path/​to/​libgfortran -lgfortran"'​
  
-===== Complete installation scripts ===== 
-Download one of the following scripts in the directory where you want to install the package and execute it (you need to do a ''​chmod u+x xxx-installation.sh''​ first, you also need to have ''​wget''​ installed). 
- 
-  * {{::​jla-installation.sh}},​ as in Betoule et al. (2014), SDSS-II/​SNLS3 Joint Light-curve Analysis, [[http://​supernovae.in2p3.fr/​sdss_snls_jla/​ReadMe.html|link to the data release page]]. 
-  * {{::​snls3-installation.sh}},​ as in Guy et al. (2010), SNLS 3 year analysis, [[https://​tspace.library.utoronto.ca/​snls/​|link to the data release page]]. 
-  ​ 
-You can check the agreement of the content of the output file ''​result_salt2.dat''​ with the released result for the SN in the test directory ''​result_salt2_xxx.dat''​. 
  
 ===== Light curves Input format ===== ===== Light curves Input format =====
Line 219: Line 215:
 ===== Other tools ===== ===== Other tools =====
  
-You can write the light curves of the model with ''​snlc''​ (note: you need snfit v 2.4.or above to run it with new lightcurve format):+You can write the light curves of the model with ''​snlc''​ (note: you need snfit v 2.4.or above to run it with new lightcurve format):
  
   snlc writes an ASCII file with the lightcurve of the model   snlc writes an ASCII file with the lightcurve of the model
-  usage : snlc lightcurve1 lightcurve2 ... -p filename+  usage : snlc lightcurve1 lightcurve2 ... -p parameter_filename -o output_filename
   ​   ​
-''​filename''​ is the path of the output file of ''​snfit'':​ (i.e. ''​result_salt.dat''​ or ''​result_salt2.dat''​)+''​parameter_filename''​ is the path of the output file of ''​snfit'':​ (i.e. ''​result_salt.dat''​ or ''​result_salt2.dat''​)
  
 A simple plotter in python (requires matplotlib and numpy) can be downloaded here {{:​snplot.py|}} A simple plotter in python (requires matplotlib and numpy) can be downloaded here {{:​snplot.py|}}