atflagger
A simple flagger for continuum UWL data. Flag persistent RFI first, then run this auto-flagger.
Installation
Installing requires pip and python3 (3.8 and up).
Stable version:
pip install atflagger
Latest version:
pip install git+https://github.com/AlecThomson/atflagger
Usage
❯ atflagger -h
usage: atflagger [-h] [-i] [-b BEAM] [-s SIGMA] [-n N_WINDOWS] [-w] [-r REPORT] [-c CORES] [-t THREADS_PER_WORKER] filenames [filenames ...]
atflagger - Automatic flagging of UWL data. This flagger divides each subband into a number of windows, and then uses sigma clipping to remove outliers. The number of windows is set by the 'n-windows' argument, and the number of sigma is set by the 'sigma' argument. Parallelism is handled by dask.distributed. The 'cores' argument sets the number of
Dask workers, and 'threads-per-worker' sets the number of threads. See https://docs.dask.org/en/stable/deploying-python.html#reference for more information.
positional arguments:
filenames Input SDHDF file(s)
optional arguments:
-h, --help show this help message and exit
-i, --inplace Update flags in-place (default: create new file)
-b BEAM, --beam BEAM Beam label
-s SIGMA, --sigma SIGMA
Sigma clipping threshold
-n N_WINDOWS, --n-windows N_WINDOWS
Number of windows to use in box filter
-w, --use-weights Use weights table instead of flag table
-r REPORT, --report REPORT
Optionally save the Dask (html) report to a file
-c CORES, --cores CORES
Number of workers to use (default: Dask automatic configuration)
-t THREADS_PER_WORKER, --threads-per-worker THREADS_PER_WORKER
Number of threads per worker (default: Dask automatic configuration)
Metadata
Release files for atflagger 0.4.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atflagger-0.4.6.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atflagger-0.4.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / atflagger-0.4.6.tar.gz
| Download URL | atflagger-0.4.6.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36e296a095ea761a730ff33fb8cc563d87b436b772b4f83b9d3210d4029f897b
|
|
BLAKE2b-256 checksum How to use checksums |
ecdd293c282e700411c48f7f0255cda0659877d6d8cfdcbac9f49ef10d730a93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.13 Darwin/20.6.0
|
Release files / atflagger-0.4.6-py3-none-any.whl
| Download URL | atflagger-0.4.6-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86bbab1e3dd50b9a6cfa3af4d0eb2f10dbb843991b45428a6178207ba45d5038
|
|
BLAKE2b-256 checksum How to use checksums |
8ab33473ed1189047208172bea3c9ba1dfad58528d306101cbd8806bff01f045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.13 Darwin/20.6.0
|