Skip to content

Commit

Permalink
Merge pull request #13 from dc2917/update_readme_demo
Browse files Browse the repository at this point in the history
Show calculation and plot of pressure on readme
  • Loading branch information
dc2917 authored Oct 2, 2024
2 parents eac8d65 + 490f4d1 commit 321c41a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ Fargonaut is a package for post-processing and visualising outputs of [FARGO3D](

>>> output = Output("/path/to/fargo3d/outputs/fargo")
>>> gasdens50 = output.get_field("gasdens", 50)
>>> gasdens50.plot()
>>> gasenergy50 = output.get_field("gasenergy", 50)
>>> gaspressure50 = gasdens50 * gasdenergy50**2
>>> gaspressure50.plot()
```

![Gas surface density output 50](docs/images/fargo_gasdens50.png)
![Gas pressure output 50](docs/images/fargo_gaspressure50.png)

See the [documentation](https://dc2917.github.io/Fargonaut/user_docs.html) for installation instructions, example usage and the API reference.
See the [documentation](https://dc2917.github.io/Fargonaut/index.html) for installation instructions, example usage and the API reference.

## Contributing to Fargonaut

Expand Down
Binary file removed docs/images/fargo_gasdens50.png
Binary file not shown.
Binary file added docs/images/fargo_gaspressure50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 321c41a

Please sign in to comment.