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.0
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.0.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| resolvit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / resolvit-0.2.0.tar.gz
| Download URL | resolvit-0.2.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f3a7f7960647cb4926902658d6a2ffc1031e1ea4fe01dfa48b2b5f91bcd02bb
|
|
BLAKE2b-256 checksum How to use checksums |
a53503b722f2e5be3b6acd70406191f0c7fbc735228a28a8642ba93560bbc199
|
| 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.0-py3-none-any.whl
| Download URL | resolvit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e28581a6547f0715cecaf839b3b8030d7d2790a643352af0ebabdc1b0c59e1ad
|
|
BLAKE2b-256 checksum How to use checksums |
4433307399ed5b33fb5b9c421df04769938df56227640a732ea86b3a3ef7fa39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|