Metadata-Version: 2.4
Name: Fargonaut
Version: 0.1.5
Summary: A FARGO3D output post-processing and visualisation toolkit
Author-email: Dan Cummins <daniel.cummins17@imperial.ac.uk>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/dc2917/Fargonaut
Project-URL: Documentation, https://dc2917.github.io/Fargonaut/index.html
Keywords: astronomy,astrophysics,fargo3d,visualisation
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: matplotlib
Requires-Dist: numpy
Provides-Extra: mpl-gtk
Requires-Dist: pycairo; extra == "mpl-gtk"
Requires-Dist: PyGObject; extra == "mpl-gtk"
Provides-Extra: mpl-qt
Requires-Dist: pycairo; extra == "mpl-qt"
Requires-Dist: PyQt6; extra == "mpl-qt"
Provides-Extra: dev
Requires-Dist: pip-tools; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: sphinx; extra == "dev"
Requires-Dist: sphinx-rtd-theme; extra == "dev"
Dynamic: license-file

# Explore your FARGO3D simulation outputs with `Fargonaut`!

Fargonaut is a package for post-processing and visualising outputs of [FARGO3D](https://github.com/FARGO3D/fargo3d), written in Python.

[![Build and test](https://github.com/dc2917/Fargonaut/actions/workflows/ci.yml/badge.svg)](https://github.com/dc2917/Fargonaut/actions/workflows/ci.yml)


```py
>>> from fargonaut.output import Output

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

![Gas pressure output 50](https://raw.githubusercontent.com/dc2917/Fargonaut/main/docs/images/fargo_gaspressure50.png)

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

## Contributing to Fargonaut

Contributions to Fargonaut are welcome. Please see the [contributing guidelines](CONTRIBUTING.md).

## Licence

Fargonaut is fully open source. For more information about its licence, see [LICENCE](LICENCE).
