Utility code to perform QAG and SV analysis
Project description
Utility code to be used in the WEAVE-QAG/SV environment
This package is called wl-utilities
on PyPI and can be installed with pip install wl-utilities
and then imported with import wl_utilities
This package is a collaborative effort and will comprise the scientific code that allows the QAG tests and SV to run. wl_utilities
will be a dependency of those projects. wl_utilities
should not use weaveio
or qag
packages.
Please see setup for setting up github
Workflow
There will be 2 branches in use on this repository:
main
- where the production-ready version exists and which is uploaded automatically to PyPI for use by everyone.develop
- where changes and merges all take place before merging into themain
branch
You will likely have 2 versions of this code:
- from PyPI (with
pip install
). This will be the version you should use when running science tests in production - from your own development repo. This will be your test and development version which must be separate from everything else
setup
To setup git to deal with collaboration here
- On github click
Fork
. This creates a copy ofwl_utilities
for you to work on cd
somewhere for development onwl_utiltities
- git clone
<your-fork-ssh-address>
cd wl_utilities
git remote add upstream git@github.com:WEAVE-LOFAR/utilities.git
git fetch --all
To add/modify this repository with your own changes and improvements please
- Pull the latest updates
git fetch --all && git checkout main && git pull && git merge upstream/master
- Create a new branch from the
git checkout -b my-very-clever-edit
- Make your changes on this branch
- Update
requirements.txt
andmanifest.IN
with your python requirements and ancillary files that you used - Commit your changes
git add <file1> <file2> ...
andgit commit -m "description of changes"
git push
- Open a pull request on this github page referencing
my-very-clever-edit -> develop
All changes therefore end up in the develop
branch of this repo.
All pull requests will be review before merging so we can limit mistakes
Structure
The structure of this package will be:
wl_utilities/
misc/ # for random short but useful snippets
spectrum/ # for anything that processes spectra
example_modulea/ # these will be added as necessary
example_moduleb/
stats/ # for anything that looks like a statistical test
We will not use separate folders for individual's code since the object is to put them together and not repeat.
Rules:
- This repo will be autoformatted according to
black
- No change is merged with the
main
branch until approved by "enough" people - Keep the code as modular as possible
machine-readable-change-log ########################### 2022.0.0: initial
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wl_utilities-2022.0.0.tar.gz
.
File metadata
- Download URL: wl_utilities-2022.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a15183802356793beb101436db29e3462bac02f7337b0810369cd90e5f0fc4 |
|
MD5 | 8f9e8284f46beaa8d850903712accedd |
|
BLAKE2b-256 | af9ae96ae785ce3a53b454217988897dce942ae914aad6807b1717c28b169870 |
File details
Details for the file wl_utilities-2022.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: wl_utilities-2022.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49fdc95192e348bc1339667cc04b65087368ef10b979fa6a7b55fb53718394c |
|
MD5 | 35bdb3bf528436543cb9a278556316fe |
|
BLAKE2b-256 | bf32ebcbfb1913504f83e94eadc15a7b143bef6970d72bdc46f371d13b4d907e |