extrabol-1.0.0


توضیحات

Estimate SN bolometric light curves
ویژگی مقدار
سیستم عامل OS Independent
نام فایل extrabol-1.0.0
نام extrabol
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ian M. Thornton
ایمیل نویسنده iot5037@psu.edu
آدرس صفحه اصلی https://github.com/villrv/extrabol
آدرس اینترنتی https://pypi.org/project/extrabol/
مجوز -
Generate bolometric estimates of Supernovae Author: Ian Thornton Install with pip: ```bash pip install extrabol ``` # Usage ``` extrabol 'filename.dat' ARGUMENTS ``` Optional Arguments: ``` --verbose Increase output verbosity -m MEAN, --mean MEAN Use a supernova template as the mean function for the GP; Choose \'1a\',\'1bc\', \'2l\', \'2p\', or \'0\' (for no template) Default = 0 -t, --show-template Shows supernova template on plots as dotted lines -d DIST, --dist DIST Object luminosity distance in Mpc -z REDSHIFT, --redshift REDSHIFT Object redshift If no argument is provided, redshift will be read from the input file --dm DM Object distance modulus --plot BOOL Output plots, Default is TRUE --outdir OUTDIR A file location for outputs to be written to --ebv EBV Milky Way extinction E(B-V) value, if known If no argument is probided the extinction will be read from the input file --hostebv HOSTEBV Host extinction E(B-V) -s START, --start START Start time of analysis window relative to peak luminosity Default = -50 days -e END, --end END End time of analysis window relative to peak luminosity Default = 150 days -snr SNR Minimum signal to noise ratio for observations Default = 4.0 -wc, --wvcorr Use the redshift-corrected wavelength values for extinction calculations -mc, --use-mcmc Use a Markov Chain Monte Carlo to fit black bodies instead of curve_fit. This provides better error estimates but takes much longer. --T_max T_MAX Modify the prior on temperature for blackbody fits by specifying a maximum temperature. Default = 40,000K ``` # Input Files Inputs to extrabol must be .dat files that conform to the following format. The first two lines must contain redshift and Milky Way extinction E(b-v) respectively. If these values are unknown, simply put 0.0. The following lines contain observational data in 5 columns as shown below: ``` Time(MJD) Apparent Magnitude Error(in magnitudes) Filter SVO ID Type of magnitude (AB or Vega) ``` Any white space can be used as the column delimiter. NaNs, non-detections, and data points with no error bars should not be included. An example input file can be found under extrabol/example. # Example Input ```python extrabol ./example/PSc000174_extrabol.dat --verbose -m 1a ``` This example may take a minute the first time you run it as astroquery fetches filter information! Filters must be specified by their [SVO](http://svo2.cab.inta-csic.es/svo/theory/fps3/) ID.


نیازمندی

مقدار نام
- numpy
- astropy
- astroquery
- matplotlib
- george
- extinction
- emcee
>=1.2.2 mkdocs


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl extrabol-1.0.0:

    pip install extrabol-1.0.0.whl


نصب پکیج tar.gz extrabol-1.0.0:

    pip install extrabol-1.0.0.tar.gz