https://github.com/JeremyHarwood/bratswrapper
A Python wrapper for the Broadband Radio Astronomy Tools software package (BRATS) which allows easy integration of BRATS with user specific code e.g. analysis pipelines. The wrapper uses Python 3 and has been tested on v3.6+. Development is ongoing, see README.md for details.
https://github.com/JeremyHarwood/bratswrapper
astronomy astrophysics radio-astronomy radio-galaxies spectral-analysis
Last synced: 7 months ago
JSON representation
A Python wrapper for the Broadband Radio Astronomy Tools software package (BRATS) which allows easy integration of BRATS with user specific code e.g. analysis pipelines. The wrapper uses Python 3 and has been tested on v3.6+. Development is ongoing, see README.md for details.
- Host: GitHub
- URL: https://github.com/JeremyHarwood/bratswrapper
- Owner: JeremyHarwood
- License: gpl-3.0
- Created: 2020-07-08T12:28:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T13:23:48.000Z (about 5 years ago)
- Last Synced: 2023-07-31T14:18:12.571Z (about 2 years ago)
- Topics: astronomy, astrophysics, radio-astronomy, radio-galaxies, spectral-analysis
- Language: Python
- Homepage: http://www.askanastronomer.co.uk/brats
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# bratswrapper
This is the first iteration of the Python wrapper for BRATS.
This early version currently only supports the running of command files in which
BRATS commands, tasks, and parameters should be placed in the order by which they
are to be processed, with one command per line.Single core and multiprocessing are both supported.
Only brats.py is required to allow usage, which can then be imported in the
standard manner (#import brats).See bratswrapper_usageexample.py and accompanying .txt files for example usage.
***************************** IMPORTANT PLEASE READ *****************************
Note there is no BRATS command and syntax error checking in this early version!
Only Python errors are handled. Incorrect commands are ignored which may lead to
unexpected results or failure to complete the run, particularly when setting
paramaters within a task.
It is therefore suggested that a manual test run is performed on a sample dataset
by simply running BRATS, then copying and pasting the contents of the command
file into the terminal.