Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmacaulay committed Sep 24, 2024
1 parent a922304 commit 343f7bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ But, as it is very convenient to have all the model parameters in one data struc
m['volume'][3,3,3] = 1 # something to produce scatter
p = as_dataframe(m, model.no_expand_parameters)
model.calculate_ts(p, inplace=True)
p
print(p)
```

For the PTDWBA model, only `theta` and `phi` are expandable, so `p` contains just two columns. The remaining parameters are available via:
Expand Down Expand Up @@ -215,9 +215,9 @@ which returns:
'target_c': 1483.3,
'source': 'https://doi.org/10.1121/1.4937607',
'benchmark_model': 'mss'}
````
```

Note that the specification contains more information that the model itself needs, so the subset needed for running a model are available via:
Note that the specification contains more information that the model itself needs, so the subset needed for running a model is available via:

```py
m = rm.parameters('spherical fluid shell with weakly scattering interior')
Expand Down

0 comments on commit 343f7bf

Please sign in to comment.