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 the primary Resolvit product. All other Resolvit products are derived from it.
Note: Resolvit supports only UVIT Level2 products generated with UVIT Pipeline Version 7 or later. Earlier pipeline products are not supported.
Requirements
- Python 3.9 or later
- UVIT Level2 products generated with UVIT Pipeline Version 7 or later
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,
)
bin_size specifies the temporal bin size, in seconds, used to estimate residual image shifts.
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
Method
Resolvit divides the events list into temporal bins and measures residual image shifts between bins using image cross-correlation. The measured shifts are applied as sub-pixel corrections to individual photon events. Multiple iterations with different temporal offsets are performed to reduce bin-edge effects.
Output products
Resolvit creates a new directory alongside the original UVIT products:
uvit/
├── data_products/
└── resolvit_data_products/
For each UVIT channel-filter-window combination, Resolvit generates:
AS1..._l2ce.fits # Corrected events list
AS1...I_l2img.fits # Instrument-coordinate count-rate image
AS1...I_l2err.fits # Instrument-coordinate count-rate error image
AS1...I_l2exp.fits # Instrument-coordinate exposure map
AS1...A_l2img.fits # Astronomical-coordinate count-rate image
AS1...A_l2err.fits # Astronomical-coordinate count-rate error image
AS1...A_l2exp.fits # Astronomical-coordinate exposure map
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
Release files for resolvit 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| resolvit-0.2.1.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| resolvit-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.4 kB
Release files / resolvit-0.2.1.tar.gz
| Download URL | resolvit-0.2.1.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
894a16b85436d3b1fae15b0afc78649986f65ee87e367ef2f31165e1e2b1a2dd
|
|
BLAKE2b-256 checksum How to use checksums |
75bfdf3987c6f412e9b5bc00154a3b0c4e4ab27c90955c886299f653bde97732
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / resolvit-0.2.1-py3-none-any.whl
| Download URL | resolvit-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79cca9c4a9ed0e41e187e6974930d5e2ad814ac7df7f492cfc93913279c3f38f
|
|
BLAKE2b-256 checksum How to use checksums |
e66c5042a4d504857106ca36295be0055cca36b434970bed89bdafe73c089ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|