Skip to content

Commit

Permalink
Add ability to read .dat files
Browse files Browse the repository at this point in the history
Former-commit-id: 7734db4
  • Loading branch information
mcoughlin committed Apr 14, 2022
1 parent 2ec44a0 commit 7539b25
Show file tree
Hide file tree
Showing 3 changed files with 1,536 additions and 11 deletions.
8 changes: 8 additions & 0 deletions doc/fitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Some are analytic / semi-analytic models that can be sampled, others rely on sam

In many cases, the lightcurve predicted by each set of parameters is **extremely high-dimensional**, given the number of measurements made. Our goal for this example is to to determine the best-fit model parameters for an object based on its observed lightcurve.

### Creating an injection file

There are other options for creating an injection file, such as a pre-computed simulation set. Taking the Petrov et al. 2022 samples as an example:

nmma_create_injection --prior-file priors/Bu2019lm.prior --injection-file example_files/sim_events/injections.dat --eos-file example_files/eos/ALF2.dat --binary-type BNS --n-injection 100 --original-parameters --extension json --aligned-spin

resulting in an injection.json file for use below.

### Example fit to simulated data

Following the quick start, we assume that an injection file has been made generated and made available. For example, there are a number of extra parameters available to modify the light curve sampling, including:
Expand Down
Loading

0 comments on commit 7539b25

Please sign in to comment.