Skip to content

Commit

Permalink
ex16 - reparameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Nov 28, 2024
1 parent 151c027 commit 7259369
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/example_16/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@ There are many options and more are being added. The file [ob03235\_2\_full.yaml
python ulens_model_fit.py ob03235_2_full.yaml
```

### Your own parametersization?

Sometimes one wants to fit using different parameters then the ones defined in MulensModel. As an example, you may be fitting a wide-orbit planet model with two separate peaks. In that case, the planet peak can be read from the light-curve easily, but it's not a standard parameter. In that case, it's enough that you define a function that translates parameters and add a few lines of code. Here is an example:

```python
python reparametrization.py reparametrization_ob08092_O3.yaml
```

Note that all other features of `ulens_model_fit.py` are available.


### More information

Expand Down

0 comments on commit 7259369

Please sign in to comment.