Skip to main content

Improve the PSF of UVIT data products

Project description

Resolvit

Resolvit improves the point spread function (PSF) of UVIT Level2 products by applying sub-pixel corrections to the Level2 events list and generating a new set of derived data products.

The corrected events list is treated as the primary Resolvit product. All other Resolvit products are derived from it.

Installation

pip install resolvit

Python usage

from resolvit import process_observation

process_observation(
    "20160101_A01_123T01_0123456789_level2"
)

Custom parameters

from resolvit import process_observation

process_observation(
    "20160101_A01_123T01_0123456789_level2",
    bin_size=50,
)

Command-line usage

Process a UVIT Level2 observation directory:

resolvit 20160101_A01_123T01_0123456789_level2

Specify a custom time bin size:

resolvit 20160101_A01_123T01_0123456789_level2 \
    --bin-size 50

Show the installed version:

resolvit --version

Output products

Resolvit creates a new directory alongside the original UVIT products:

uvit/
├── data_products/
└── resolvit_data_products/

The original UVIT products are never modified.

Diagnostics

Resolvit generates diagnostic plots and residual tables for each channel-filter-window combination:

resolvit_data_products/
└── diagnostics/
    └── <product_id>/
        ├── resolvit.log
        ├── residuals_iteration_1.txt
        ├── residuals_iteration_1.png
        ├── residuals_iteration_2.txt
        ├── residuals_iteration_2.png
        └── *_correlations.png

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

resolvit-0.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resolvit-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file resolvit-0.1.0.tar.gz.

File metadata

  • Download URL: resolvit-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for resolvit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cdf31e5e19e33911674df6a69849e092d0975f8508c5cff352c31d0d70493dd0
MD5 2c4fb572951e669a2e65f322f9244b2d
BLAKE2b-256 9944193dc035103558bb4cc76addcf2116f1c70de2bf4de75c11523a8949915f

See more details on using hashes here.

File details

Details for the file resolvit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: resolvit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for resolvit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b0eec6e9af7643483284ec286c2ac89619e8262588c592ed780cfe1e8da6c37
MD5 23b1add48d8a1797cea569fe89ad1ab9
BLAKE2b-256 a838da78d1bab35acc37b9cef53d08ea205c0e7600a73e7a422624164709e82d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page