Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
lc_inference [2022/02/20 10:02] theoastro |
lc_inference [2023/06/10 18:58] (current) theoastro |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Light curve inference | + | ===== Inference of electromagnetic signals |
| NMMA enables to perform parameter estimation in different electromagnetic regimes such as for kilonovae and gamma-ray burst afterglows. Similarly to light curve generation, the following models are available for kilonova inference: '' | NMMA enables to perform parameter estimation in different electromagnetic regimes such as for kilonovae and gamma-ray burst afterglows. Similarly to light curve generation, the following models are available for kilonova inference: '' | ||
| Line 13: | Line 13: | ||
| This generates a file called injection.json that includes an injection file drawn from the prior file with a number of injections specified by –n-injection. The injection file generated for a certain kilonova model, | This generates a file called injection.json that includes an injection file drawn from the prior file with a number of injections specified by –n-injection. The injection file generated for a certain kilonova model, | ||
| - | light_curve_analysis --model Me2017 --svd-path ./svdmodels --outdir outdir --label injection --prior priors/ | + | light_curve_analysis --model Me2017 --svd-path ./ |
| A result of obtained posteriors is shown below: | A result of obtained posteriors is shown below: | ||
| Line 19: | Line 19: | ||
| ** Example: '' | ** Example: '' | ||
| - | In order to perform parameter estimation with observational data, a prior as well as the observational data is required. In this example, we use the '' | ||
| + | In order to perform parameter estimation with observational data, a prior as well as observational data are required. In this example, we use the '' | ||
| + | |||
| + | luminosity_distance = 40 | ||
| + | KNphi = Uniform(name=' | ||
| + | inclination_EM = Sine(name=' | ||
| + | KNtimeshift = 0. | ||
| + | log10_mej_dyn | ||
| + | log10_mej_wind = Uniform(name=' | ||
| + | |||
| + | |||
| + | As for the light curve generation, the '' | ||
| + | mpiexec -np 16 light_curve_analysis --model Bu2019lm --svd-path nmma/ | ||
| + | |||
| + | A result plot could look like the example shown below: | ||
| + | |||
| + | {{: | ||
| + | | ||
| === Gamma-ray burst afterglows | === Gamma-ray burst afterglows | ||
| Line 26: | Line 42: | ||
| ** Example: '' | ** Example: '' | ||
| + | Similar to the kilonova inference for the observed event AT2017gfo, | ||
| + | |||
| + | luminosity_distance = 44 | ||
| + | KNtimeshift = 0. | ||
| + | inclination_EM = Sine(name=' | ||
| + | log10_E0 = Uniform(name=' | ||
| + | thetaCore = Uniform(name=' | ||
| + | thetaWing = Uniform(name=' | ||
| + | log10_n0 = Uniform(name=' | ||
| + | p = Uniform(name=' | ||
| + | log10_epsilon_e = Uniform(name=' | ||
| + | log10_epsilon_B = Uniform(name=' | ||
| + | | ||
| + | The Bayesian inference for an observed GRB afterglow event can be started as follows: | ||
| + | mpiexec -np 16 light_curve_analysis --model TrPi2018 --outdir outdir --label GRB170817A_TrPi2018 --trigger-time 57982.5285236896 --data ./ | ||
| + | {{: | ||
Last modified: le 2022/02/20 10:02
