Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
usage [2015/01/08 16:59] admin [Complete installation scripts] |
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 212: | Line 215: | ||
===== Other tools ===== | ===== Other tools ===== | ||
- | You can write the light curves of the model with ''snlc'' (note: you need snfit v 2.4.1 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.2 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|}} |