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
injections_nmma [2022/02/10 15:05]
theoastro
injections_nmma [2023/06/15 14:48] (current)
theoastro
Line 2: Line 2:
  
 === Injections files  === === Injections files  ===
-For a parameter estimation run on simulated data (i.e., when no observational data is available), an injection-file line is required in your config.ini-file pointing a ''dat'' or ''json'' injection file. The injection file itself contains a list of values for each source parameter (such as masses, spins, distance etc.) and is used to generate gravitational-wave signal for particular source (e.g. Binary Neutron Star). +For a parameter estimation run on simulated data (i.e., when no observational data is available), an injection-file line is required in your config.ini-file pointing a ''dat'' or ''json'' injection file. The injection file itself contains a list of values for each source parameter (such as masses, spins, distance etc.) and is used to generate synthetic electromagnetic or gravitational-wave signals for particular sources (e.g. BNS, NSBH).
  
 === Generating injections files  === === Generating injections files  ===
Line 24: Line 24:
      
 === Additional examples and files  === === Additional examples and files  ===
-Taking the Metzger (2017) blue kilonova model as an example, a set of injections can be generated by simply using this [[https://github.com/nuclear-multimessenger-astronomy/nmma/blob/main/priors/Me2017.prior|prior file]] (all are found in nmma/priors/). Using the same command as above+Taking the Metzger (2017) blue kilonova model as an example, a set of injections can be generated by simply using this [[https://github.com/nuclear-multimessenger-astronomy/nmma/blob/main/priors/Me2017.prior| Me2017.prior]] file (all are found in nmma/priors/). Example EOS files can be found [[https://github.com/nuclear-multimessenger-astronomy/nmma/tree/main/example_files/eos|here]]. Using the same command as above
   nmma_create_injection --prior-file priors/Me2017.prior --eos-file example_files/eos/ALF2.dat --binary-type BNS --n-injection 100 --original-parameters --extension json   nmma_create_injection --prior-file priors/Me2017.prior --eos-file example_files/eos/ALF2.dat --binary-type BNS --n-injection 100 --original-parameters --extension json
  
 an injection.json is generated with the ''Me2017.prior'' including a number of injections specified by –n-injection. an injection.json is generated with the ''Me2017.prior'' including a number of injections specified by –n-injection.
  
Last modified: le 2022/02/10 15:05