Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
spectrum
listlengths
512
512
p1_mT
float32
0.03
7.91
p2_mT
float32
0.02
6.4
p3_mT
float32
0
4.46
p4_mT
float32
0
4.17
D_shift_MHz
float32
-1.48
1.48
E_strain_MHz
float32
0
8
linewidth_MHz
float32
2
14
B_magnitude_mT
float32
0.01
0.08
contrast
float32
200k
20M
photons_per_point
float32
0.05
8
[ 1.000690221786499, 0.9990088939666748, 0.998582124710083, 0.9993004202842712, 0.995485246181488, 0.9966815710067749, 1.001273274421692, 0.9986987113952637, 0.9980900883674622, 0.9993470311164856, 0.9998274445533752, 1.0007742643356323, 1.0004616975784302, 0.9948835968971252, 0.9997457861...
0.562797
0.504315
0.148706
0.090224
-0.535643
2.296465
7.920629
0.008951
427,607.40625
0.671562
[ 0.9850677847862244, 0.9874916076660156, 0.9869896769523621, 0.9874155521392822, 0.9885311126708984, 0.987885594367981, 0.9874265789985657, 0.9880083203315735, 0.9856875538825989, 0.9855537414550781, 0.9897191524505615, 0.9888256788253784, 0.988938570022583, 0.9883151054382324, 0.98814696...
4.814645
4.417449
2.300796
1.903599
0.652389
2.056915
4.805411
0.006724
809,895.4375
6.221656
[ 0.9930692315101624, 0.9916307330131531, 0.9919410347938538, 0.9920664429664612, 0.991452693939209, 0.9921465516090393, 0.9926948547363281, 0.992069661617279, 0.9911803603172302, 0.9928628206253052, 0.9930024147033691, 0.9923735857009888, 0.9921149611473083, 0.9928925633430481, 0.99301707...
0.098845
0.055026
0.039827
0.003992
0.67998
7.836205
5.033033
0.008639
2,176,839.5
0.103924
[ 0.9983077049255371, 0.9979428052902222, 1.0023263692855835, 0.9975733160972595, 1.0022532939910889, 0.9969940185546875, 0.9981207251548767, 0.9979884028434753, 1.0007891654968262, 1.000410556793213, 0.999302089214325, 0.9985038638114929, 1.000364899635315, 0.9986315965652466, 0.999096870...
5.21796
3.962983
2.491682
1.236704
1.177979
0.472899
7.679866
0.020966
217,485.4375
6.164633
[ 0.9950698018074036, 0.9969468712806702, 0.994658350944519, 0.9940862059593201, 0.9954641461372375, 0.9948562979698181, 0.9959120750427246, 0.9962668418884277, 0.9957047700881958, 0.9958887696266174, 0.9957242012023926, 0.9962668418884277, 0.9951396584510803, 0.9944596290588379, 0.9957731...
0.207518
0.155928
0.097454
0.045863
-1.033424
2.510227
10.799553
0.011169
1,285,041.875
0.243379
[ 1.0001665353775024, 0.9998719692230225, 1.0002537965774536, 1.0003366470336914, 0.9999634027481079, 0.9994040727615356, 0.9998923540115356, 1.0001211166381836, 1.000360131263733, 0.9997536540031433, 0.9995375275611877, 1.000062108039856, 1.0003514289855957, 0.9996430277824402, 0.99948543...
0.280079
0.279434
0.210537
0.209892
1.045306
3.772456
13.740488
0.074188
12,134,739
0.42858
[ 0.9999417066574097, 0.9993852376937866, 0.9997156262397766, 1.00008225440979, 1.0001095533370972, 0.9994726181030273, 1.0000487565994263, 0.99998539686203, 0.9996652007102966, 1.0005512237548828, 0.9992890954017639, 0.9994866251945496, 1.000081181526184, 0.9987213611602783, 0.99998390674...
3.152177
2.056092
0.749179
0.346906
1.387542
2.890245
7.984811
0.008124
6,079,695.5
3.336767
[ 1.0004470348358154, 1.0001590251922607, 1.0012637376785278, 1.000736117362976, 1.0002549886703491, 1.0008221864700317, 1.0005723237991333, 1.0008982419967651, 1.001146912574768, 1.0004544258117676, 1.0004531145095825, 1.0013774633407593, 1, 0.9998551607131958, 0.9996717572212219, 1.000...
0.358713
0.283549
0.049645
0.025519
1.066069
1.999645
7.319281
0.023871
3,095,941
0.398928
[ 0.9830131530761719, 0.9829471111297607, 0.9830856323242188, 0.983112096786499, 0.9829429984092712, 0.9833810925483704, 0.9829970598220825, 0.9840734601020813, 0.983798623085022, 0.9830325245857239, 0.9833813905715942, 0.9832533597946167, 0.983808159828186, 0.9838622212409973, 0.983600199...
0.733013
0.563151
0.166887
0.002975
-0.506137
1.220108
6.549812
0.06603
9,375,183
0.813468
[ 1.0008693933486938, 0.999635636806488, 1.000213623046875, 0.9998857975006104, 0.9994584321975708, 0.9990760684013367, 0.9998447299003601, 0.9999333024024963, 0.9997875690460205, 1.0001412630081177, 0.9996324777603149, 0.9999037981033325, 1.0000067949295044, 0.9996545910835266, 0.99900096...
0.050705
0.037871
0.0191
0.006266
1.163842
6.817789
11.858487
0.031651
5,107,892.5
0.057506
[ 1.0011355876922607, 1.000484824180603, 1.000482439994812, 1.0006449222564697, 1.000067949295044, 1.000699758529663, 1.0002175569534302, 0.9998469948768616, 0.9993679523468018, 1.00021493434906, 0.9997326731681824, 0.999756395816803, 1.0002933740615845, 1.0003260374069214, 0.9999238848686...
1.811482
1.711685
0.672308
0.572511
1.274702
5.617169
8.913786
0.009048
3,779,499.5
2.28983
[ 0.9847846031188965, 0.9853274822235107, 0.9845962524414062, 0.9854742884635925, 0.9864650964736938, 0.9854129552841187, 0.9839160442352295, 0.9845226407051086, 0.9844783544540405, 0.9853523969650269, 0.9853504300117493, 0.9854636192321777, 0.9848261475563049, 0.9851319789886475, 0.984714...
0.666426
0.513847
0.257525
0.104945
0.570761
2.305975
12.989716
0.078845
2,510,258
0.767542
[ 0.9985468983650208, 0.9998250007629395, 0.9997281432151794, 0.9951938390731812, 0.9983687996864319, 0.9979656338691711, 0.9965875148773193, 0.992318868637085, 0.9968031644821167, 0.9996281266212463, 0.993253231048584, 0.9951625466346741, 0.9978750348091125, 0.9975375533103943, 0.99676251...
0.219404
0.189069
0.087171
0.056835
-0.036727
5.052069
8.578553
0.007599
319,230.125
0.266525
[ 1.0002392530441284, 1.0009493827819824, 0.9993391036987305, 1.0010669231414795, 1.0013129711151123, 1.0001916885375977, 0.999656081199646, 1.0009897947311401, 1.000473976135254, 1.0010648965835571, 0.9997016787528992, 0.9994913935661316, 1.0001097917556763, 1.0012617111206055, 1.00006580...
2.467264
1.81613
0.753899
0.102765
0.960496
2.009367
4.387031
0.022355
1,920,761.375
2.733767
[ 0.998295783996582, 0.9981177449226379, 0.9982476234436035, 0.9976886510848999, 0.998292863368988, 0.9984413385391235, 0.9982364177703857, 0.9979643225669861, 0.9977511763572693, 0.9978896379470825, 0.9980429410934448, 0.9980611801147461, 0.9982206225395203, 0.9982172846794128, 0.99755108...
0.194205
0.180898
0.036829
0.023521
0.459781
4.981271
3.261384
0.059634
11,329,171
0.232942
[ 0.9891842007637024, 0.9896520972251892, 0.9890658855438232, 0.9893894195556641, 0.9899702072143555, 0.9895139932632446, 0.9894795417785645, 0.9895944595336914, 0.9897202253341675, 0.9891023635864258, 0.9897605180740356, 0.9900335073471069, 0.989240825176239, 0.9895128011703491, 0.9898792...
0.451006
0.332592
0.13546
0.017046
0.815997
1.204601
8.4565
0.021193
4,935,875
0.499498
[ 0.9812012910842896, 0.9820192456245422, 0.9806403517723083, 0.9830926060676575, 0.9820845723152161, 0.9825626611709595, 0.9832901954650879, 0.9830716848373413, 0.9824370741844177, 0.9822478294372559, 0.9842948913574219, 0.982517421245575, 0.9841090440750122, 0.9823014140129089, 0.9814440...
0.096934
0.04887
0.029285
0.018779
-1.376826
3.903878
4.287979
0.071289
1,184,370
0.098722
[ 0.9863836765289307, 0.9866572022438049, 0.9864035844802856, 0.9866081476211548, 0.9868516325950623, 0.9861852526664734, 0.9862164855003357, 0.9874831438064575, 0.9868733882904053, 0.9867531657218933, 0.9868379831314087, 0.9871275424957275, 0.9866324663162231, 0.9868397116661072, 0.986453...
0.323865
0.303846
0.042163
0.022144
-0.911252
4.745407
10.382392
0.043994
10,045,048
0.386794
[ 0.9931403398513794, 0.9927765130996704, 0.991895854473114, 0.991158664226532, 0.9919412732124329, 0.9927785396575928, 0.9918145537376404, 0.9913825988769531, 0.9926338791847229, 0.9919054508209229, 0.9917133450508118, 0.9904780387878418, 0.9915001392364502, 0.9921102523803711, 0.99186277...
0.131175
0.08928
0.031736
0.010159
-0.13586
4.03366
11.396071
0.028572
2,499,877.25
0.140414
End of preview. Expand in Data Studio

odmr-spectra

50,000 simulated NV-center ODMR spectra with exact physical labels, for training and benchmarking spectral estimators.

split rows regime
train 40,000 0.8–5 mT, 2–8% contrast, 4–12 MHz linewidth
validation 5,000 same distribution as train
test_hard 5,000 0.05–1.2 mT, 0.3–1.5% contrast, 8–20 MHz linewidth, 280–330 K

test_hard is deliberately out of distribution: weak fields, low contrast, broad overlapping lines, wide temperature range. It exists so that estimators are reported in the regime where they actually break, not only where they look good.

Schema

column type description
spectrum list[float32] × 512 normalised fluorescence, 2700–3040 MHz
p1_mTp4_mT float32 |B·nᵢ|, field projection onto each NV axis
D_shift_MHz float32 zero-field-splitting shift (−74 kHz/K)
E_strain_MHz float32 transverse strain term
linewidth_MHz float32 Lorentzian FWHM
B_magnitude_mT float32 |B|, equals √(0.75·Σpᵢ²)
contrast float32 ODMR dip depth
photons_per_point float32 readout photon budget, sets shot-noise floor

The frequency grid is in freq_grid_MHz.npy (512 points, uniform).

Generation

Spectra come from exact diagonalisation of the NV ground-state Hamiltonian,

H = D(S_z² − 2/3) + E(S_x² − S_y²) + γ(B_x S_x + B_y S_y + B_z S_z)

per NV axis, with γ = 28.024 MHz/mT and D ≈ 2870 MHz. Four ⟨111⟩ orientations give eight lines; ¹⁴N hyperfine coupling (2.16 MHz) splits each into a triplet, for 24 components. Each spectrum carries Poisson readout noise plus a slow instrumental baseline (laser power and collection-efficiency drift).

The Hamiltonian is diagonalised exactly rather than expanded to first order, because the expansion fails precisely in the transverse-field and overlapping regimes this dataset is built to cover.

generate.py and odmr.py reproduce every split from seed.

Why the labels are the projections

An ODMR spectrum fixes the magnitude of the field projection onto each NV axis. The sign is unobservable — the crystal's point-group symmetry maps sign flips onto identical spectra. Regressing the Cartesian vector would mean training on an ill-posed target. The four projection magnitudes are uniquely identified, and |B| follows exactly from the tetrahedral identity Σᵢ(B·nᵢ)² = (4/3)|B|².

Limitations

Fully synthetic. For ODMR this is normal — the lineshape is known physics, so labels are exact and noise-free ground truth is available, which is not true of most sensing datasets. But real spectra contain microwave power broadening, laser noise correlated across the sweep, frequency calibration error, and diamond-specific strain distributions that are not modelled here. A model trained only on this data should be validated on measured spectra before deployment.

Downloads last month
10

Models trained or fine-tuned on jeorgexyz/odmr-spectra

Space using jeorgexyz/odmr-spectra 1