-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of gh:revoltek/losoto
- Loading branch information
Showing
91 changed files
with
8,583 additions
and
5,084 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Python package | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 pytest | ||
- name: Install | ||
run: pip install . | ||
- name: Test | ||
# We cannot yet use `pytest`; requires different test file names | ||
run: python tools/losoto_test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
LoSoTo: LOFAR solutions tool | ||
============================ | ||
|
||
Main developer: | ||
### Main developer: | ||
* Francesco de Gasperin | ||
|
||
Contributed code: | ||
### Contributed code: | ||
* David Rafferty | ||
* Henrik Edler | ||
* Maaijke Mevius | ||
* Jose Sabater Montes | ||
* Martin Hardcastle | ||
* Andreas Horneffer | ||
* and the LOFAR Survey Key Science Project | ||
|
||
Cite: | ||
* If you use LoSoTo for your data reduction, please acknowledge it with "This work has made use of the Lofar Solution Tool (LoSoTo), developed by F. de Gasperin." | ||
### Cite: | ||
* If you use LoSoTo for your data reduction, please cite: de Gasperin et al. 2019, Astronomy & Astrophysics, Volume 622, id.A5 | ||
(https://ui.adsabs.harvard.edu/abs/2019A&A...622A...5D/abstract) | ||
|
||
Install: | ||
* Get LoSoTo from https://github.com/revoltek/losoto | ||
* Install losoto by simply: python setup.py install --prefix=~/mydir/ | ||
* Alternatively: pip install --upgrade --user https://github.com/revoltek/losoto/archive/master.zip | ||
* In cep3 use the copy of the code in ~fdg/scripts/losoto/ (source the tool/lofarinit.[c]sh file which is shipped with the code) | ||
* Prepare a parset starting from the parset/losoto2.parset | ||
* in case of problems write to Francesco de Gasperin: [email protected] | ||
### Install: | ||
* Install latest official release of LoSoTo from PyPI: | ||
`pip install --upgrade losoto` | ||
* Or, install latest development version of LoSoTo from GitHub: | ||
`pip install --upgrade --user https://github.com/revoltek/losoto/archive/master.zip` | ||
* Or clone the LoSoTo repository from https://github.com/revoltek/losoto, and install LoSoTo using: | ||
`python setup.py install --prefix=~/mydir/` | ||
* Prepare a `parset` file, which can be based on the file `parset/losoto2.parset` | ||
* In case of problems write to Francesco de Gasperin: [email protected] | ||
|
||
Documentation: | ||
### H5parm plotter (GUI): | ||
This is an external project maintained by Frits Sweijen: https://github.com/tikk3r/lofar-h5plot | ||
|
||
### Documentation: | ||
* Documentation of LoSoTo API is at: __http://revoltek.github.io/losoto/losoto.html__ | ||
* A detailed explanation of all the parameters is at: __http://revoltek.github.io/losoto/losoto.operations.html__ | ||
* A few important articles/how-to are on the github wiki: __https://github.com/revoltek/losoto/wiki__ | ||
|
||
Contents: | ||
### Contents: | ||
* __bin/__: the losoto executable and some manipulators for H5parms | ||
* __docs/__: documentation | ||
* __examples/__: some examples h5parm to use with validation/test parsets | ||
* __losoto/operations/__: containts all the modules for operations | ||
* __losoto/operations/__: contains all the modules for operations | ||
* __parsets/__: some examples parsets | ||
* __tools/__: contains some external tools | ||
|
||
Required packages: | ||
* PyTables version: >3.0.0 | ||
### Required packages: | ||
* Python 3 | ||
* PyTables version: >3.4.0 | ||
* HDF5 version: >1.8.4 | ||
* NumPy version: >1.9.0 | ||
* configparser (backport from python 3.0 if using python 2.7) | ||
* Scipy >1.4 (for interpolatedirections) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.