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.2
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.2.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| resolvit-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / resolvit-0.2.2.tar.gz
| Download URL | resolvit-0.2.2.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a14e4aff28ad5024e457ce8d8ee4df8953ff1e6ca4e8bb685c866711a53bd002
|
|
BLAKE2b-256 checksum How to use checksums |
4b568a78917be753ac3cf61e9fd4c49d38c134d424ad78e9ab5e87a6cff3dc01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Release files / resolvit-0.2.2-py3-none-any.whl
| Download URL | resolvit-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79bb1535826c4ac02fe58ad1e646aa473fec7275c8ce47db1885b46ec8252d07
|
|
BLAKE2b-256 checksum How to use checksums |
9dec48ca24eea80a1053a48e3b5b183e619674e9c6c3f66710d03bebcaab655b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|