Dataset Viewer
Auto-converted to Parquet Duplicate
pair_id
stringlengths
3
7
grade
stringclasses
2 values
lr
array 2D
hr
array 2D
lr_min
float32
-1.01
0.01
lr_max
float32
0.03
46.7
hr_min
float32
-58.44
0.31
hr_max
float32
0.18
295
10006_C
C
[[-0.8503319621086121,-0.8972392082214355,-0.7368719577789307,-0.7411922216415405,-0.750963032245636(...TRUNCATED)
[[-0.9520533084869385,-0.9599786996841431,-0.9705409407615662,-0.968142032623291,-0.9537425637245178(...TRUNCATED)
-0.03278
0.203029
-0.207551
10.469687
10009_C
C
[[-0.8268108367919922,-0.7953264117240906,-0.8736686110496521,-0.8729145526885986,-0.855266213417053(...TRUNCATED)
[[-0.9474422931671143,-0.9676053524017334,-0.9877074956893921,-0.9835578799247742,-0.960125386714935(...TRUNCATED)
-0.022786
0.296604
-0.199493
12.194986
10131_C
C
[[-0.7486673593521118,-0.8620029091835022,-0.7244097590446472,-0.8153285980224609,-0.892088055610656(...TRUNCATED)
[[-0.9410528540611267,-0.9662531614303589,-0.9825454354286194,-0.9770804643630981,-0.967320621013641(...TRUNCATED)
-0.028039
0.240782
-0.153185
8.080788
10234_C
C
[[-0.6133532524108887,-0.6268109083175659,-0.7965335249900818,-0.5833246111869812,-0.550991892814636(...TRUNCATED)
[[-0.8222575187683105,-0.8199060559272766,-0.8167030215263367,-0.8222594857215881,-0.838831067085266(...TRUNCATED)
-0.042873
0.317561
-0.230684
12.044638
10268_C
C
[[-0.9193485379219055,-0.9118892550468445,-0.8445594906806946,-0.8218819499015808,-0.878885686397552(...TRUNCATED)
[[-0.963156521320343,-0.9439228773117065,-0.9520910382270813,-0.966856062412262,-0.9477542638778687,(...TRUNCATED)
-0.02294
0.189296
-0.21662
9.48831
10283_C
C
[[-0.9914963245391846,-0.9723180532455444,-0.9596821665763855,-0.9781571626663208,-0.982467353343963(...TRUNCATED)
[[-0.9942170977592468,-0.987790048122406,-0.9875484108924866,-0.992854654788971,-0.9941213726997375,(...TRUNCATED)
-0.022228
1.081088
-0.210296
44.411663
10309_C
C
[[-0.9455572366714478,-0.9678130149841309,-0.8062965869903564,-0.8430284857749939,-0.768662750720977(...TRUNCATED)
[[-0.7353779673576355,-0.7422268986701965,-0.7448791265487671,-0.7414656281471252,-0.737148165702819(...TRUNCATED)
-0.025685
0.309253
-3.5106
24.05953
1080_C
C
[[-0.884852945804596,-0.901320219039917,-0.9486209154129028,-0.9254868626594543,-0.9210788011550903,(...TRUNCATED)
[[-0.8985766768455505,-0.9053129553794861,-0.8790033459663391,-0.8621111512184143,-0.900402367115020(...TRUNCATED)
-0.018653
0.512903
-0.52797
13.123942
1090_C
C
[[-0.978920578956604,-0.8765518665313721,-0.7796077132225037,-0.8621156811714172,-0.9241738319396973(...TRUNCATED)
[[-0.8252211809158325,-0.8438844680786133,-0.8359348177909851,-0.8434796929359436,-0.900017499923706(...TRUNCATED)
-0.023871
0.338859
-0.521475
8.984602
109_C
C
[[-0.9825006127357483,-0.9867280125617981,-0.9689649343490601,-0.9878115653991699,-0.977606713771820(...TRUNCATED)
[[-0.9894986748695374,-0.9951346516609192,-0.9945793151855469,-0.9906176328659058,-0.992380917072296(...TRUNCATED)
-0.016442
1.430613
-0.181589
51.632774
End of preview. Expand in Data Studio

Gravitational Lensing Images

This dataset accompanies the DiffLense study. Journal article · arXiv preprint

It contains 2,888 pairs of single-channel cutouts of strong gravitational lens candidates. Each pair has a Subaru Hyper Suprime-Cam (HSC) input and a Hubble Space Telescope (HST) target for image super-resolution.

The HSC input and HST target assignments were corrected after the first release.

Sample pairs

Three HSC input cutouts above their matching HST target cutouts.

Three pairs from the test split. Each cutout uses its own intensity stretch for display.

Data and splits

This release uses an approximately 80/10/10 train, validation, and test split. Cutouts with identical pixel arrays are assigned together.

Split Pairs
train 2,310
validation 289
test 289

Fields and preprocessing

  • pair_id is the original filename stem shared by the paired arrays.
  • grade preserves the original filename label (AB or C).
  • lr and hr are 64 × 64 and 128 × 128 float32 arrays, respectively. Downsampling uses area interpolation and upsampling uses bicubic interpolation. Each resized cutout is then independently min–max normalized to [−1, 1].
  • lr_min, lr_max, hr_min, and hr_max contain the pre-normalization bounds of the resized cutouts. Use (pixel + 1) / 2 * (max - min) + min to recover the resized values.

The preparation excludes HST cutouts whose native pixel range is at most 0.0001. The Parquet files contain resized cutouts and omit sky coordinates, WCS, and survey calibration metadata. The original filename stems identify the paired files. Identifying unique astrophysical objects requires a catalog match.

Load the dataset

from datasets import load_dataset

train = load_dataset(
    "DeepLense/gravitational-lensing-sr",
    "hsc_hst",
    split="train",
)
train = train.with_format("numpy")
sample = train[0]

Citation

Please cite DiffLense if you use this dataset.

@article{reddy2024difflense,
  author  = {Reddy, Pranath and Toomey, Michael W. and Parul, Hanna and Gleyzer, Sergei},
  title   = {DiffLense: a conditional diffusion model for super-resolution of gravitational lensing data},
  journal = {Machine Learning: Science and Technology},
  year    = {2024},
  volume  = {5},
  pages   = {035076},
  doi     = {10.1088/2632-2153/ad76f8}
}
Downloads last month
71

Paper for DeepLense/gravitational-lensing-sr