https://github.com/pkgw/neurosynchro
Train and use neural networks to quickly approximate polarized synchrotron radiative transfer coefficients
https://github.com/pkgw/neurosynchro
neural-networks radiative-transfer science synchrotron-radiation
Last synced: 7 months ago
JSON representation
Train and use neural networks to quickly approximate polarized synchrotron radiative transfer coefficients
- Host: GitHub
- URL: https://github.com/pkgw/neurosynchro
- Owner: pkgw
- License: mit
- Created: 2018-07-24T15:15:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-22T02:18:06.000Z (almost 3 years ago)
- Last Synced: 2025-02-16T09:41:30.594Z (8 months ago)
- Topics: neural-networks, radiative-transfer, science, synchrotron-radiation
- Language: Python
- Size: 90.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# neurosynchro
*Neurosynchro* is a small Python package for creating and using neural networks
to quickly approximate the coefficients needed for fully-polarized synchrotron
radiative transfer. It builds on the [Keras](https://keras.io/) deep learning
library.Say that you have a code — such as
[Rimphony](https://github.com/pkgw/rimphony/) or
[Symphony](https://github.com/AFD-Illinois/symphony) — that calculates
synchrotron radiative transfer coefficients as a function of some input model
parameters (electron temperature, particle energy index, etc.). These
calculations are often accurate but slow. With *neurosynchro*, you can train a
neural network that will quickly approximate these calculations with good
accuracy. The achievable level of accuracy will depend on the particulars of
your target distribution function, range of input parameters, and so on.This code is specific to synchrotron radiation because it makes certain
assumptions about how the coefficients scale with input parameters such as the
observing frequency.Neurosynchro is written by Peter K. G. Williams ().
## Documentation
*Neurosynchro’s* documentation
[is on ReadTheDocs](https://neurosynchro.readthedocs.io/en/stable/).## Requirements
- [keras](https://keras.io/) version 2.1 or greater.
- [numpy](https://www.numpy.org/) version 1.10 or greater.
- [pandas](https://pandas.pydata.org/) version 0.23.0 or greater.
- [pwkit](https://github.com/pkgw/pwkit/) version 0.8.19 or greater.
- [pytoml](https://github.com/avakar/pytoml) version 0.1.0 or greater.
- [six](https://six.readthedocs.io/) version 1.10 or greater.## Recent Changes
See [the changelog](CHANGELOG.md).
## Copyright and License
This code is copyright Peter K. G. Williams and collaborators. It is licensed
under the [MIT License](https://opensource.org/licenses/MIT).