[1]:
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt
plt.rcParams['figure.constrained_layout.use'] = True
import dask
print(f'dask: {dask.__version__}')
import dask.array
dask.config.set({'array.chunk-size': '512MiB'})
import xarray as xr
from psutil import virtual_memory
mem = virtual_memory()
print(f'Physical memory: {mem.total/1024/1024/1024:.0f} Gb') # total physical memory available
import logging
logging.basicConfig(filename='example.log', level=logging.DEBUG)
dask: 2022.02.0
Physical memory: 504 Gb
[2]:
%load_ext autoreload
%autoreload 2
import toolbox_scs as tb
print(tb.__file__)
import toolbox_scs.routines.boz as boz
from extra_data.read_machinery import find_proposal
/gpfs/exfel/u/usr/SCS/202201/p002884/Software/checkouts/toolbox_p002884/src/toolbox_scs/__init__.py
Loading analysis parameters¶
[3]:
proposal = 2937
root = find_proposal(f'p{proposal:06d}')
path = root + '/usr/processed_runs/'
[4]:
# list of tuple (runNB, darkrunNB)
runlist = [(688, 671),
(690, 671)
]
savename = 'summary-688-690'
[5]:
#xaxis = 'nrj'
xaxis = 'delay_mm'
[6]:
fnames = [path + f'r{r:04d}/p{proposal}-r{r}-d{d}-BOZ-II1-small-data.h5'for r,d in runlist]
[7]:
ds = xr.open_mfdataset(fnames, parallel=True, join='outer')
ds.load()
ds.close()
ds
[7]:
<xarray.Dataset> Dimensions: (trainId: 25896, sa3_pId: 20, dim_0: 1, pulse_slot: 2700) Coordinates: * sa3_pId (sa3_pId) int64 602 642 682 722 ... 1242 1282 1322 1362 * trainId (trainId) uint64 1155313075 1155313076 ... 1155353394 Dimensions without coordinates: dim_0, pulse_slot Data variables: (12/78) 0 (trainId, sa3_pId) float64 2.909e+05 ... 4.285e+05 0X (trainId, sa3_pId) float64 6.245e+04 ... 9.256e+04 0X_area (dim_0, trainId, sa3_pId) float64 2.132e+03 ... 2.132e+03 0X_sat (trainId, sa3_pId) float64 0.0 0.0 0.0 ... 0.0 0.0 0.0 0_area (dim_0, trainId, sa3_pId) float64 6.396e+03 ... 6.396e+03 0_sat (trainId, sa3_pId) float64 0.0 0.0 0.0 ... 0.0 0.0 0.0 ... ... p (trainId, sa3_pId) float64 1.9e+05 ... 2.633e+05 p_area (dim_0, trainId, sa3_pId) float64 6.396e+03 ... 6.396e+03 p_sat (trainId, sa3_pId) float64 0.0 0.0 0.0 ... 0.0 0.0 0.0 sat (trainId, sa3_pId) float64 6.683e+05 ... 9.515e+05 sat_area (dim_0, trainId, sa3_pId) float64 1.911e+04 ... 1.911e+04 sat_sat (trainId, sa3_pId) float64 0.0 0.0 0.0 ... 0.0 0.0 0.0 Attributes: runFolder: /gpfs/exfel/exp/SCS/202122/p002937/raw/r0688 saturation (%): 6.896367959334262
xarray.Dataset
- trainId: 25896
- sa3_pId: 20
- dim_0: 1
- pulse_slot: 2700
- sa3_pId(sa3_pId)int64602 642 682 722 ... 1282 1322 1362
array([ 602, 642, 682, 722, 762, 802, 842, 882, 922, 962, 1002, 1042, 1082, 1122, 1162, 1202, 1242, 1282, 1322, 1362])
- trainId(trainId)uint641155313075 ... 1155353394
array([1155313075, 1155313076, 1155313077, ..., 1155353392, 1155353393, 1155353394], dtype=uint64)
- 0(trainId, sa3_pId)float642.909e+05 1.393e+05 ... 4.285e+05
array([[290931.20292851, 139287.8730225 , 500934.86759755, ..., 42770.38640638, 245035.03977332, 134422.44567629], [226448.2988819 , 201642.88496133, 275494.51466269, ..., 543710.18054757, nan, 496685.59538171], [203258.18683303, 195379.75402644, 443772.64017446, ..., 139544.23732557, 141229.1447119 , nan], ..., [429134.24712428, 350580.68429389, 562374.90180461, ..., 194254.49352065, 288251.68265235, 412601.11612934], [365540.93814108, 438040.45289316, nan, ..., 279733.55053064, 440279.10077655, 500186.73788568], [373488.66234727, 466904.94208661, 529848.74456023, ..., 398265.36288628, 104060.0937453 , 428506.45531629]])
- 0X(trainId, sa3_pId)float646.245e+04 2.271e+04 ... 9.256e+04
array([[ 62450.45247768, 22706.37132769, 61778.51403137, ..., 9497.46713207, 40875.13056424, 21473.6443674 ], [ 30663.1666526 , 34360.59115817, 38419.36136393, ..., 89059.9676808 , nan, 97173.3393258 ], [ 31419.05229203, 38912.43396236, 91820.86526966, ..., 28865.26205679, 28645.53716537, nan], ..., [ 90578.47797217, 59510.98717886, 89992.19948619, ..., 39652.78128481, 55327.23296152, 73871.3231697 ], [ 57852.8698507 , 100580.65497162, nan, ..., 58595.77395148, 102725.49512259, 90634.72198648], [ 95609.21631608, 79750.91623733, 124351.7462089 , ..., 103867.88378275, 22224.09918299, 92556.54371452]])
- 0X_area(dim_0, trainId, sa3_pId)float642.132e+03 2.132e+03 ... 2.132e+03
array([[[2132., 2132., 2132., ..., 2132., 2132., 2132.], [2132., 2132., 2132., ..., 2132., nan, 2132.], [2132., 2132., 2132., ..., 2132., 2132., nan], ..., [2132., 2132., 2132., ..., 2132., 2132., 2132.], [2132., 2132., nan, ..., 2132., 2132., 2132.], [2132., 2132., 2132., ..., 2132., 2132., 2132.]]])
- 0X_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 0_area(dim_0, trainId, sa3_pId)float646.396e+03 6.396e+03 ... 6.396e+03
array([[[6396., 6396., 6396., ..., 6396., 6396., 6396.], [6396., 6396., 6396., ..., 6396., nan, 6396.], [6396., 6396., 6396., ..., 6396., 6396., nan], ..., [6396., 6396., 6396., ..., 6396., 6396., 6396.], [6396., 6396., nan, ..., 6396., 6396., 6396.], [6396., 6396., 6396., ..., 6396., 6396., 6396.]]])
- 0_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 10X1(trainId, sa3_pId)float647.889e+04 4.508e+04 ... 1.117e+05
array([[ 78892.74414605, 45078.63301204, 186979.65179071, ..., 10980.13560239, 73580.88143832, 41417.33474921], [ 77023.76258461, 66935.77187015, 90358.173636 , ..., 168091.30355871, nan, 135873.41667533], [ 72959.0668999 , 57507.82369697, 128846.36128784, ..., 38020.20819957, 36585.35942158, nan], ..., [117782.39198864, 111126.19344374, 186561.9329308 , ..., 52959.52215454, 83070.04640892, 121326.43818999], [121948.65549945, 114165.90282397, nan, ..., 74658.71624911, 110254.48639913, 145120.38655628], [ 86120.40598712, 149108.98555979, 134832.09110216, ..., 89534.99305145, 26499.99433596, 111667.86574063]])
- 10X1_area(dim_0, trainId, sa3_pId)float641.599e+03 1.599e+03 ... 1.599e+03
array([[[1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., nan, 1599.], [1599., 1599., 1599., ..., 1599., 1599., nan], ..., [1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., nan, ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., 1599., 1599.]]])
- 10X1_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 10X2(trainId, sa3_pId)float642.461e+04 1.055e+04 ... 4.001e+04
array([[24607.31532994, 10549.67276458, 45202.06810562, ..., 3643.36261392, 25579.04612382, 13924.85585481], [24897.16013051, 18748.26509211, 31712.72296858, ..., 59449.79971144, nan, 51519.50932496], [20629.67390346, 13299.70490374, 29907.60151085, ..., 13002.67677573, 12693.64282734, nan], ..., [35638.1203808 , 34196.60500837, 52359.34165594, ..., 17469.51558132, 26662.00346935, 42059.20261576], [36239.16677731, 34924.81748706, nan, ..., 25984.78484977, 40325.26836584, 50084.89009038], [25392.59028569, 40226.72179818, 41671.50971263, ..., 31140.23683209, 9204.74016467, 40006.0267033 ]])
- 10X2_area(dim_0, trainId, sa3_pId)float641.025e+03 1.025e+03 ... 1.025e+03
array([[[1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., nan, 1025.], [1025., 1025., 1025., ..., 1025., 1025., nan], ..., [1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., nan, ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., 1025., 1025.]]])
- 10X2_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 11X(trainId, sa3_pId)float646.617e+04 3.231e+04 ... 9.275e+04
array([[ 66168.08572735, 32308.06700839, 128902.45250573, ..., 9373.75003393, 56598.55534218, 31245.56586689], [ 56982.0651931 , 54204.14858763, 68763.08004487, ..., 129362.75232595, nan, 109066.58104317], [ 57462.55214714, 46158.40005456, 104708.55668498, ..., 32043.36967929, 29156.13156681, nan], ..., [ 97423.28029074, 83692.37236698, 137213.78155576, ..., 42542.62535359, 65360.81842415, 93521.45763549], [ 93312.53809303, 92881.58847459, nan, ..., 60524.9379018 , 93138.09351711, 112221.49604278], [ 74770.31546931, 108575.36123391, 111861.98154707, ..., 77669.05710999, 22181.37332597, 92745.08163496]])
- 11X_area(dim_0, trainId, sa3_pId)float642.173e+03 2.173e+03 ... 2.173e+03
array([[[2173., 2173., 2173., ..., 2173., 2173., 2173.], [2173., 2173., 2173., ..., 2173., nan, 2173.], [2173., 2173., 2173., ..., 2173., 2173., nan], ..., [2173., 2173., 2173., ..., 2173., 2173., 2173.], [2173., 2173., nan, ..., 2173., 2173., 2173.], [2173., 2173., 2173., ..., 2173., 2173., 2173.]]])
- 11X_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 1X1(trainId, sa3_pId)float643.686e+04 1.229e+04 ... 4.102e+04
array([[36861.99980581, 12288.61517585, 34240.08554521, ..., 4144.88288429, 18292.52224995, 9277.83523615], [13799.29383498, 17740.69068968, 19809.80635191, ..., 38260.96543 , nan, 42695.10707049], [14706.84448953, 24955.29478427, 59390.35576502, ..., 13426.70956215, 13956.09840768, nan], ..., [49630.74244385, 31627.7065502 , 48156.20032076, ..., 16891.18903112, 26352.18567872, 30701.89936678], [27879.34579124, 54613.71822392, nan, ..., 25015.85700484, 45046.67563035, 40803.87812264], [54744.11939746, 43084.86841832, 65317.80637337, ..., 49782.29484622, 11725.30109499, 41017.13742856]])
- 1X1_area(dim_0, trainId, sa3_pId)float641.025e+03 1.025e+03 ... 1.025e+03
array([[[1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., nan, 1025.], [1025., 1025., 1025., ..., 1025., 1025., nan], ..., [1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., nan, ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., 1025., 1025.]]])
- 1X1_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 1X2(trainId, sa3_pId)float646.493e+04 2.755e+04 ... 1.08e+05
array([[ 64925.2529142 , 27554.27816017, 77697.14120708, ..., 10813.08537387, 50028.73080624, 26469.28085556], [ 38542.66757895, 36940.50986849, 44983.94176282, ..., 109815.18553379, nan, 112828.64371418], [ 35289.20389049, 40083.50841929, 90672.94940266, ..., 32417.29615916, 32834.0986923 , nan], ..., [ 96592.17310708, 67736.57879311, 104451.9173835 , ..., 47405.89109097, 65638.89359124, 92870.40248466], [ 64927.04251888, 103609.71691997, nan, ..., 69783.92546989, 118082.2067386 , 111112.12466073], [ 96089.24857973, 89479.05159222, 131453.41579817, ..., 113167.5062905 , 24533.63547874, 107956.1770702 ]])
- 1X2_area(dim_0, trainId, sa3_pId)float641.599e+03 1.599e+03 ... 1.599e+03
array([[[1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., nan, 1599.], [1599., 1599., 1599., ..., 1599., 1599., nan], ..., [1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., nan, ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., 1599., 1599.]]])
- 1X2_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 2X1(trainId, sa3_pId)float648.499e+04 3.414e+04 ... 1.074e+05
array([[ 84987.00794332, 34144.07824749, 98970.37605247, ..., 11575.84934227, 50188.53456062, 26078.76908124], [ 38611.16859808, 45938.10668512, 50539.01365836, ..., 104530.05259904, nan, 110713.51660936], [ 40053.47871699, 60943.2503957 , 141788.66785947, ..., 34706.93120004, 36329.77482907, nan], ..., [121888.98888579, 77924.41296878, 124766.72445326, ..., 46892.26733208, 69538.05259879, 86568.25544836], [ 74087.97301118, 128920.50889835, nan, ..., 67760.97461703, 114719.6354443 , 109947.71580807], [127021.40917126, 111375.6561097 , 157060.08524576, ..., 120771.74096232, 28711.00009818, 107399.42197058]])
- 2X1_area(dim_0, trainId, sa3_pId)float641.599e+03 1.599e+03 ... 1.599e+03
array([[[1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., nan, 1599.], [1599., 1599., 1599., ..., 1599., 1599., nan], ..., [1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., nan, ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., 1599., 1599.]]])
- 2X1_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 2X2(trainId, sa3_pId)float642.514e+04 8.89e+03 ... 4.106e+04
array([[25143.20181899, 8890.07410017, 23498.30281712, ..., 3583.7493149 , 17804.25120144, 8919.55936094], [12958.05536709, 12454.93951907, 15608.26459791, ..., 39896.37056182, nan, 43041.11430159], [13025.0387202 , 13773.26068751, 31964.43438213, ..., 12056.97728202, 11998.12483083, nan], ..., [35526.98978148, 25578.49725928, 36953.29999649, ..., 17259.877761 , 24292.22066437, 33129.81890625], [22432.62439284, 40203.7888162 , nan, ..., 25902.3403253 , 47184.67586716, 40651.74775755], [37391.5083553 , 31285.62242939, 50893.31297099, ..., 45680.20247403, 9270.08152124, 41059.23282608]])
- 2X2_area(dim_0, trainId, sa3_pId)float641.025e+03 1.025e+03 ... 1.025e+03
array([[[1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., nan, 1025.], [1025., 1025., 1025., ..., 1025., 1025., nan], ..., [1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., nan, ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., 1025., 1025.]]])
- 2X2_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 3X(trainId, sa3_pId)float647.407e+04 2.522e+04 ... 8.944e+04
array([[ 74072.29433003, 25219.18097655, 68093.66043946, ..., 9793.98015526, 39483.24230433, 21139.05060138], [ 29737.88967159, 38035.26359476, 41258.16464418, ..., 83595.22079266, nan, 93746.15846634], [ 31558.16359119, 48368.74116767, 116977.10354393, ..., 29917.80927364, 30128.63689046, nan], ..., [102068.43751749, 63143.28480174, 98185.9442711 , ..., 38332.08700889, 55908.14453309, 68218.93389638], [ 59436.68083226, 112964.19353678, nan, ..., 55339.3581644 , 97326.43945223, 87238.17746269], [111359.11088985, 88405.92401258, 135321.61900189, ..., 106685.30483732, 25030.96209031, 89441.99196866]])
- 3X_area(dim_0, trainId, sa3_pId)float642.173e+03 2.173e+03 ... 2.173e+03
array([[[2173., 2173., 2173., ..., 2173., 2173., 2173.], [2173., 2173., 2173., ..., 2173., nan, 2173.], [2173., 2173., 2173., ..., 2173., 2173., nan], ..., [2173., 2173., 2173., ..., 2173., 2173., 2173.], [2173., 2173., nan, ..., 2173., 2173., 2173.], [2173., 2173., 2173., ..., 2173., 2173., 2173.]]])
- 3X_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 8X(trainId, sa3_pId)float645.535e+04 2.606e+04 ... 8.422e+04
array([[ 55345.27831272, 26058.84375823, 104624.8193889 , ..., 8280.81528727, 53140.55657933, 30058.97931885], [ 52806.67695526, 45523.80614705, 66080.64957292, ..., 122634.26025329, nan, 104712.66965807], [ 48027.29791141, 34099.51740145, 77600.97259534, ..., 28584.14285011, 27192.98207009, nan], ..., [ 80993.3036121 , 73412.6953765 , 116544.12128827, ..., 38464.41996086, 57113.46181379, 87121.37080692], [ 82373.99960458, 79159.27657047, nan, ..., 55719.83050028, 83991.69848409, 102599.78068119], [ 60267.45989333, 91792.17343642, 94242.48276568, ..., 67562.67684041, 19917.93569361, 84223.56454083]])
- 8X_area(dim_0, trainId, sa3_pId)float642.132e+03 2.132e+03 ... 2.132e+03
array([[[2132., 2132., 2132., ..., 2132., 2132., 2132.], [2132., 2132., 2132., ..., 2132., nan, 2132.], [2132., 2132., 2132., ..., 2132., 2132., nan], ..., [2132., 2132., 2132., ..., 2132., 2132., 2132.], [2132., 2132., nan, ..., 2132., 2132., 2132.], [2132., 2132., 2132., ..., 2132., 2132., 2132.]]])
- 8X_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 9X1(trainId, sa3_pId)float643.275e+04 1.539e+04 ... 4.197e+04
array([[32748.77900977, 15387.30132467, 62201.30704926, ..., 4050.86395074, 25228.57892128, 13379.29594675], [25520.69048106, 25088.29109927, 30971.07993175, ..., 58035.32174829, nan, 48408.86852957], [26850.92542695, 23205.80270698, 52098.75258501, ..., 13961.93132996, 12944.85783228, nan], ..., [46432.13989719, 40281.03620979, 65691.00151573, ..., 18975.25243164, 30887.91629724, 42471.04823935], [42647.63449876, 44885.6892282 , nan, ..., 27112.93440936, 42832.69584931, 51720.98075138], [36146.70682896, 52136.6432333 , 53583.48527464, ..., 36150.53097204, 10073.47374555, 41965.27332638]])
- 9X1_area(dim_0, trainId, sa3_pId)float641.025e+03 1.025e+03 ... 1.025e+03
array([[[1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., nan, 1025.], [1025., 1025., 1025., ..., 1025., 1025., nan], ..., [1025., 1025., 1025., ..., 1025., 1025., 1025.], [1025., 1025., nan, ..., 1025., 1025., 1025.], [1025., 1025., 1025., ..., 1025., 1025., 1025.]]])
- 9X1_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- 9X2(trainId, sa3_pId)float646.213e+04 3.251e+04 ... 1.015e+05
array([[ 62126.19792495, 32510.8836028 , 137287.6985473 , ..., 9401.31608785, 71236.89296814, 40457.06099029], [ 72270.70012025, 51828.49653757, 89613.38560551, ..., 161273.63885603, nan, 137270.01838284], [ 54956.43732565, 36845.17151448, 82464.66162449, ..., 34399.80176679, 35479.91176896, nan], ..., [ 92870.69314277, 93793.49908826, 146594.32703705, ..., 46996.81294307, 70004.69005341, 111836.02000633], [104577.26711158, 91344.32425087, nan, ..., 67529.93419461, 97222.77219452, 134006.51086061], [ 64257.59860915, 116941.24882491, 106503.15241414, ..., 74791.122582 , 24315.46383242, 101482.99053489]])
- 9X2_area(dim_0, trainId, sa3_pId)float641.599e+03 1.599e+03 ... 1.599e+03
array([[[1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., nan, 1599.], [1599., 1599., 1599., ..., 1599., 1599., nan], ..., [1599., 1599., 1599., ..., 1599., 1599., 1599.], [1599., 1599., nan, ..., 1599., 1599., 1599.], [1599., 1599., 1599., ..., 1599., 1599., 1599.]]])
- 9X2_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- BAM1932S(trainId, sa3_pId)float32-0.1224 -0.0573 ... -0.01805
array([[-0.12236217, -0.05729783, -0.08597051, ..., -0.18695326, -0.19202815, -0.27193955], [-0.09310246, -0.07237986, -0.08227787, ..., -0.1706761 , -0.17930788, -0.17469296], [-0.10197377, -0.11036394, -0.11326622, ..., -0.19486932, -0.18473992, -0.22299041], ..., [-0.03859306, -0.00558956, -0.03978338, ..., -0.02355727, -0.01098651, -0.02566336], [-0.02872979, -0.05022595, -0.01413769, ..., -0.03916264, -0.00452921, -0.03206221], [-0.03946427, -0.03410045, -0.02781733, ..., -0.02370737, -0.02388738, -0.01805105]], dtype=float32)
- PP800_DelayLine(trainId)float647.532 7.532 7.531 ... 7.684 7.683
array([7.53174591, 7.53153992, 7.53131104, ..., 7.68374634, 7.68356323, 7.68333435])
- b0(trainId, sa3_pId)float64910.2 -76.75 133.7 ... 155.3 670.8
array([[ 910.18712297, -76.74858691, 133.74007145, ..., -61.71852097, 207.86278966, 133.98884707], [ -2.64326011, 155.54626797, 140.71458724, ..., 163.09525795, nan, 508.8718106 ], [ 178.32108849, -32.53588582, 698.78831634, ..., -19.16470197, 321.538741 , nan], ..., [ 569.81854795, 251.13741018, 961.34418703, ..., 62.77454064, 410.95745846, 419.3555419 ], [ 46.21382871, 1234.54837831, nan, ..., 247.89158939, 289.19116547, 481.62185699], [ 974.28761488, 460.67705462, 955.83037999, ..., 696.05477924, 155.30736955, 670.77175067]])
- b0_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b0_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b1(trainId, sa3_pId)float641.878e+03 -16.27 ... 1.741e+03
array([[1878.01450343, -16.26918992, 708.84920295, ..., -73.93669483, 384.8880237 , 198.94304653], [ 158.18967519, 334.17465554, 385.91974931, ..., 1132.93976491, nan, 1616.75965989], [ 315.2416394 , 136.46380924, 1726.37709466, ..., 58.68358273, 529.40997156, nan], ..., [1557.79519926, 839.85822389, 2302.69348157, ..., 301.90090875, 950.51319388, 1304.3289992 ], [ 440.52883578, 2626.58635531, nan, ..., 758.90111636, 1409.49336051, 1720.6881126 ], [2264.35710609, 1246.29455749, 2810.37145299, ..., 2045.63371664, 370.5899886 , 1741.08380639]])
- b10(trainId, sa3_pId)float641.037e+03 260.7 ... 3.921 1.421e+03
array([[ 1.03661911e+03, 2.60663929e+02, 3.75909943e+03, ..., -1.35439278e+02, 6.44316758e+02, 2.20675308e+02], [ 6.76937125e+02, 5.92371363e+02, 1.12977242e+03, ..., 3.12835642e+03, nan, 2.05144639e+03], [ 6.42789807e+02, 2.80967496e+02, 1.97192042e+03, ..., -2.31135578e+01, 3.35862220e+02, nan], ..., [ 1.66965751e+03, 1.60116648e+03, 4.03688361e+03, ..., 1.77045665e+02, 1.01391836e+03, 1.63007029e+03], [ 1.75368502e+03, 1.86624710e+03, nan, ..., 7.41223332e+02, 1.25677554e+03, 2.26757345e+03], [ 1.04874858e+03, 2.49521322e+03, 2.18211060e+03, ..., 9.16075217e+02, 3.92084595e+00, 1.42109386e+03]])
- b10_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b10_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b11(trainId, sa3_pId)float64-5.688 -14.5 507.2 ... -120.9 79.5
array([[ -5.68803972, -14.49680996, 507.1636428 , ..., -79.29198114, -9.74693004, -21.39935686], [ -52.28949578, 41.57297995, 82.36631555, ..., 401.21444016, nan, 141.32893692], [ -15.97894567, -106.02043938, 257.4757058 , ..., -228.19808105, 59.09741668, nan], ..., [ 140.63662652, 121.21403634, 457.4894437 , ..., -153.44863022, 152.24465501, 72.19406247], [ 159.79698517, 186.00604063, nan, ..., 100.62002503, 62.71161484, 91.35950472], [ 21.71307913, 255.91509366, 165.45355294, ..., -31.71776153, -120.87672089, 79.4973323 ]])
- b11_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b11_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b1_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b1_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b2(trainId, sa3_pId)float641.849e+03 59.89 ... 261.1 1.665e+03
array([[1848.64636863, 59.88532297, 1204.24009375, ..., -110.34962356, 423.43454112, 132.62026724], [ 150.0351446 , 416.25231558, 389.62373085, ..., 1149.48072428, nan, 1500.55941141], [ 319.95282993, 339.99638503, 2639.59053128, ..., 40.30525117, 457.42247503, nan], ..., [2040.45549649, 908.07613977, 2542.03353332, ..., 253.86437111, 867.30579069, 1115.51952303], [ 598.42231072, 2787.6859532 , nan, ..., 651.89770897, 1516.51825435, 1638.5136461 ], [2623.7493192 , 1595.68520711, 3206.28623896, ..., 1979.61954984, 261.11317449, 1665.48418062]])
- b2_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b2_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b3(trainId, sa3_pId)float64323.2 -155.9 14.27 ... -112.3 246.0
array([[ 3.23222506e+02, -1.55909837e+02, 1.42735271e+01, ..., -1.15516960e+02, 3.99425038e+01, -6.38527484e+01], [-1.33914738e+02, 1.85159963e+00, -6.10995327e+01, ..., -9.12281848e+01, nan, 7.81456725e+01], [-1.30103904e+01, -1.36932368e+02, 4.62545646e+02, ..., -1.69716919e+02, 1.03263221e+02, nan], ..., [ 2.55358960e+02, -4.29655106e+01, 4.00496635e+02, ..., -1.46704555e+02, 5.78777974e+01, 5.05297221e+01], [-1.37728895e+02, 6.37792309e+02, nan, ..., 5.22261866e-01, 1.59951915e+02, 1.19504238e+02], [ 5.11313671e+02, 1.70419535e+02, 3.72152564e+02, ..., 2.56962981e+02, -1.12282183e+02, 2.46010420e+02]])
- b3_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b3_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b8(trainId, sa3_pId)float645.734 28.09 385.1 ... -123.2 135.8
array([[ 5.73372762e+00, 2.80887147e+01, 3.85123856e+02, ..., -5.47611995e+01, 6.98388723e-02, -2.01894427e+01], [-6.03836994e+01, 7.01534210e+01, 9.54116357e+01, ..., 3.58609525e+02, nan, 1.52711952e+02], [-2.83840776e+01, -1.14717406e+02, 2.42876638e+02, ..., -1.94467340e+02, 9.69188910e+01, nan], ..., [ 1.42669639e+02, 9.77501717e+01, 4.06073266e+02, ..., -1.58055676e+02, 1.14425073e+02, 4.57105778e+01], [ 1.52409301e+02, 2.13055194e+02, nan, ..., 1.37312918e+02, 9.11855136e+01, 6.43443539e+01], [ 7.87380548e+01, 2.11621377e+02, 2.17079929e+02, ..., -2.59997631e+01, -1.23155226e+02, 1.35789778e+02]])
- b8_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b8_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- b9(trainId, sa3_pId)float64177.2 -1.367 ... -216.0 582.5
array([[ 1.77211630e+02, -1.36656677e+00, 1.79341509e+03, ..., -1.50979934e+02, 1.86236572e+02, -3.80005987e+01], [ 2.68562159e+02, 1.69451918e+02, 6.42694874e+02, ..., 2.05673485e+03, nan, 1.27657965e+03], [ 1.45587265e+02, -9.16647530e+01, 6.43223587e+02, ..., -2.38651180e+02, 6.29987649e+01, nan], ..., [ 6.63228939e+02, 6.89842664e+02, 1.95628334e+03, ..., -1.17412994e+02, 2.92834697e+02, 7.30680297e+02], [ 9.13082318e+02, 7.11712873e+02, nan, ..., 2.60717414e+02, 5.01392843e+02, 1.11200672e+03], [ 2.53652350e+02, 1.16765774e+03, 8.74164204e+02, ..., 1.73569797e+02, -2.15987737e+02, 5.82450527e+02]])
- b9_area(dim_0, trainId, sa3_pId)float641.472e+03 1.472e+03 ... 1.472e+03
array([[[1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., nan, 1472.], [1472., 1472., 1472., ..., 1472., 1472., nan], ..., [1472., 1472., 1472., ..., 1472., 1472., 1472.], [1472., 1472., nan, ..., 1472., 1472., 1472.], [1472., 1472., 1472., ..., 1472., 1472., 1472.]]])
- b9_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- bunchPatternTable(trainId, pulse_slot)uint322113321 0 2097193 0 ... 0 0 0 0
array([[2113321, 0, 2097193, ..., 0, 0, 0], [2113321, 0, 2097193, ..., 0, 0, 0], [2113321, 0, 2097193, ..., 0, 0, 0], ..., [2113321, 0, 2097193, ..., 0, 0, 0], [2113321, 0, 2097193, ..., 0, 0, 0], [2113321, 0, 2097193, ..., 0, 0, 0]], dtype=uint32)
- delay_mm(trainId, sa3_pId)float647.547 7.538 7.542 ... 7.685 7.684
array([[7.54740322, 7.53764357, 7.54194447, ..., 7.55709188, 7.55785311, 7.56983982], [7.54280813, 7.53969974, 7.54118444, ..., 7.55444417, 7.55573894, 7.5550467 ], [7.54390978, 7.54516831, 7.54560365, ..., 7.55784411, 7.5563247 , 7.56206228], ..., [7.68743078, 7.68248025, 7.68760933, ..., 7.68517541, 7.68328979, 7.68549132], [7.68576805, 7.68899248, 7.68357924, ..., 7.68733298, 7.68213797, 7.68626792], [7.68714919, 7.68634461, 7.68540215, ..., 7.68478565, 7.68481265, 7.6839372 ]])
- delay_ps(trainId, sa3_pId)float6450.32 50.25 50.28 ... 51.23 51.23
array([[50.31602145, 50.25095712, 50.2796298 , ..., 50.38061254, 50.38568743, 50.46559883], [50.28538751, 50.26466491, 50.27456292, ..., 50.36296114, 50.37159292, 50.366978 ], [50.29273188, 50.30112205, 50.30402433, ..., 50.38562743, 50.37549802, 50.41374851], ..., [51.24953852, 51.21653501, 51.25072884, ..., 51.23450272, 51.22193196, 51.23660881], [51.2384537 , 51.25994985, 51.2238616 , ..., 51.24888654, 51.21425312, 51.24178612], [51.24766124, 51.24229742, 51.23601431, ..., 51.23190434, 51.23208436, 51.22624802]])
- n(trainId, sa3_pId)float641.874e+05 7.644e+04 ... 2.598e+05
array([[187406.50960597, 76441.13158645, 262844.72601474, ..., 25974.02925438, 137536.78831481, 74189.75486915], [122789.8279239 , 122713.37909417, 155280.89722051, ..., 307990.51511238, nan, 292989.98458394], [121004.12011992, 121173.04885506, 280910.94621504, ..., 84838.04579901, 82739.47547542, nan], ..., [267634.6639253 , 204832.42531535, 320383.52261094, ..., 113983.64270843, 169680.79675127, 234165.64158275], [210753.84974527, 279239.33899421, nan, ..., 166444.39586596, 274596.56508634, 285759.36154168], [246767.50243583, 266764.60132537, 337495.5206226 , ..., 257363.38644143, 63940.80971714, 259762.5190103 ]])
- n_area(dim_0, trainId, sa3_pId)float646.314e+03 6.314e+03 ... 6.314e+03
array([[[6314., 6314., 6314., ..., 6314., 6314., 6314.], [6314., 6314., 6314., ..., 6314., nan, 6314.], [6314., 6314., 6314., ..., 6314., 6314., nan], ..., [6314., 6314., 6314., ..., 6314., 6314., 6314.], [6314., 6314., nan, ..., 6314., 6314., 6314.], [6314., 6314., 6314., ..., 6314., 6314., 6314.]]])
- n_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- nrj(trainId)float64777.5 777.5 777.5 ... 777.5 777.5
array([777.53568622, 777.5084665 , 777.54475989, ..., 777.5084665 , 777.49939369, 777.5084665 ])
- p(trainId, sa3_pId)float641.9e+05 7.697e+04 ... 2.633e+05
array([[189990.89720632, 76966.99484968, 265696.48386793, ..., 26394.842118 , 139465.09497177, 75229.03168402], [124575.17036228, 123442.61679357, 157342.23225555, ..., 312304.14339187, nan, 297373.36313606], [122675.42836199, 121600.10681348, 283557.69612189, ..., 87020.83301068, 83976.53611543, nan], ..., [270656.82797051, 206610.75943637, 324712.36747929, ..., 115604.1057048 , 172223.18709096, 236929.41305388], [211421.01009543, 280974.38831463, nan, ..., 167751.42124128, 277974.47720233, 290196.31135339], [248913.52500015, 268493.62947407, 339748.42323258, ..., 261174.80125343, 65687.15710219, 263252.333133 ]])
- p_area(dim_0, trainId, sa3_pId)float646.396e+03 6.396e+03 ... 6.396e+03
array([[[6396., 6396., 6396., ..., 6396., 6396., 6396.], [6396., 6396., 6396., ..., 6396., nan, 6396.], [6396., 6396., 6396., ..., 6396., 6396., nan], ..., [6396., 6396., 6396., ..., 6396., 6396., 6396.], [6396., 6396., nan, ..., 6396., 6396., 6396.], [6396., 6396., 6396., ..., 6396., 6396., 6396.]]])
- p_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- sat(trainId, sa3_pId)float646.683e+05 2.927e+05 ... 9.515e+05
array([[ 668328.6097408 , 292695.99945864, 1029476.07748022, ..., 95139.25777876, 522036.9230599 , 283841.23222946], [ 473813.29716808, 447798.88084907, 588117.64413874, ..., 1164004.83905182, nan, 1087048.94310171], [ 446937.73531494, 438152.90969499, 1008241.28251139, ..., 311403.11613526, 307945.15630276, nan], ..., [ 967425.73902009, 762023.86904562, 1207470.79189484, ..., 423842.24193388, 630155.66649458, 883696.17076597], [ 787715.79798179, 998254.180202 , nan, ..., 613929.36763788, 992850.14306522, 1076142.41078075], [ 869169.68978325, 1002163.17288605, 1207092.68841541, ..., 916803.55058114, 233688.06056462, 951521.3074596 ]])
- sat_area(dim_0, trainId, sa3_pId)float641.911e+04 1.911e+04 ... 1.911e+04
array([[[19106., 19106., 19106., ..., 19106., 19106., 19106.], [19106., 19106., 19106., ..., 19106., nan, 19106.], [19106., 19106., 19106., ..., 19106., 19106., nan], ..., [19106., 19106., 19106., ..., 19106., 19106., 19106.], [19106., 19106., nan, ..., 19106., 19106., 19106.], [19106., 19106., 19106., ..., 19106., 19106., 19106.]]])
- sat_sat(trainId, sa3_pId)float640.0 0.0 0.0 0.0 ... nan 0.0 0.0 0.0
array([[ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., nan, 0.], [ 0., 0., 0., ..., 0., 0., nan], ..., [ 0., 0., 0., ..., 0., 0., 0.], [ 0., 0., nan, ..., 0., 0., 0.], [ 0., 0., 0., ..., 0., 0., 0.]])
- runFolder :
- /gpfs/exfel/exp/SCS/202122/p002937/raw/r0688
- saturation (%) :
- 6.896367959334262
[8]:
if xaxis == 'delay_mm':
bin_width = 0.05*0.15 #0.15mm is 1ps
else:
bin_width = 0.1
[9]:
dXAS = tb.xas(ds, bin_width, Iokey = 'p', Itkey = 'n', nrjkey = xaxis, plot=False)
XASp = tb.xas(ds, bin_width, Iokey = '0', Itkey = 'p', nrjkey = xaxis, plot=False)
XASn = tb.xas(ds, bin_width, Iokey = '0', Itkey = 'n', nrjkey = xaxis, plot=False)
[10]:
ph = ds['nrj'].mean().values
t0 = 7.57 #mm
t = -(ds['delay_ps'].mean().values - t0/.15)
[11]:
f = plt.figure()
ax = f.gca()
ax.errorbar(dXAS['nrj'], dXAS['muA'] - dXAS['muA'][0], dXAS['sterrA'], c='C3')
ax.set_ylabel('dXAS')
runs = ",".join([f'{r}' for r,d in runlist])
ax.set_title(f'p:{proposal} run:{runs}')
if xaxis == 'delay_mm':
ax.set_xlabel('delay (mm)')
ax.axvline(t0, c='k', alpha=0.5, ls='--')
ax.text(0.02, 0.85, f'E = {ph:.1f} eV', transform=ax.transAxes)
secax = ax.secondary_xaxis('top', functions=(lambda x: -(x - t0)/0.15, lambda x: -x*0.15 + t0))
secax.set_xlabel('delay (ps)')
ax.set_xlim([np.nanmax(dXAS['nrj']), np.nanmin(dXAS['nrj'])])
if xaxis == 'nrj':
ax.set_xlabel('Energy (eV)')
ax.text(0.02, 0.85, f't = {t:.1f} ps', transform=ax.transAxes)
ax2 = ax.twinx()
ax2.errorbar(XASp['nrj'], XASp['muA'] - XASp['muA'][0], XASp['sterrA'], label='p')
ax2.errorbar(XASn['nrj'], XASn['muA'] - XASn['muA'][0], XASn['sterrA'], label='n')
ax2.set_ylabel('XAS')
ax.legend(loc=2)
save the figure¶
[13]:
fname = path + savename + '.png'
f.savefig(fname, dpi=300)
Saving binned data¶
[14]:
dv = {}
for x, x_str in [(dXAS, 'dXAS'), (XASp, 'XASp'), (XASn, 'XASn')]:
for k in x.keys():
if k == 'nrj':
continue
dv[x_str + '_' + k] = {"dims": xaxis, "data": x[k]}
ds = {
"coords": {xaxis: {"dims": xaxis, "data": dXAS['nrj'],
"attrs": {"units": "mm" if xaxis == 'delay_mm' else "eV"}}},
"attrs": {"runs": runs},
"dims": xaxis,
"data_vars": dv}
ds = xr.Dataset.from_dict(ds)
ds
[14]:
<xarray.Dataset> Dimensions: (delay_mm: 134) Coordinates: * delay_mm (delay_mm) float64 6.716 6.724 6.731 ... 7.699 7.706 7.714 Data variables: (12/15) dXAS_muA (delay_mm) float64 0.01155 0.01254 0.01352 ... 0.01128 0.01315 dXAS_sterrA (delay_mm) float64 0.0003915 0.0001611 ... 9.847e-05 0.0003488 dXAS_sigmaA (delay_mm) float64 0.003796 0.003907 ... 0.003858 0.00347 dXAS_muIo (delay_mm) float64 2.107e+05 2.187e+05 ... 2.244e+05 2.267e+05 dXAS_counts (delay_mm) int64 94 588 307 247 467 ... 3495 3734 3749 1535 99 XASp_muA (delay_mm) float64 0.5399 0.5283 0.5279 ... 0.5221 0.5336 ... ... XASp_counts (delay_mm) int64 94 588 307 247 467 ... 3495 3734 3749 1535 99 XASn_muA (delay_mm) float64 0.5514 0.5409 0.5414 ... 0.532 0.5334 0.5468 XASn_sterrA (delay_mm) float64 0.005814 0.002697 ... 0.001676 0.00694 XASn_sigmaA (delay_mm) float64 0.05637 0.0654 0.06379 ... 0.06566 0.06905 XASn_muIo (delay_mm) float64 3.615e+05 3.709e+05 ... 3.782e+05 3.865e+05 XASn_counts (delay_mm) int64 94 588 307 247 467 ... 3495 3734 3749 1535 99 Attributes: runs: 688,690
xarray.Dataset
- delay_mm: 134
- delay_mm(delay_mm)float646.716 6.724 6.731 ... 7.706 7.714
- units :
- mm
array([6.716352, 6.723852, 6.731352, 6.738852, 6.746352, 6.753852, 6.761352, 6.768852, 6.776352, 6.783852, 6.791352, 6.798852, 6.806352, 6.813852, 6.821352, 6.828852, 6.836352, 6.843852, 6.851352, 6.858852, 6.866352, 6.873852, 6.881352, 6.888852, 6.896352, 6.903852, 6.911352, 6.918852, 6.926352, 6.933852, 6.941352, 6.948852, 6.956352, 6.963852, 6.971352, 6.978852, 6.986352, 6.993852, 7.001352, 7.008852, 7.016352, 7.023852, 7.031352, 7.038852, 7.046352, 7.053852, 7.061352, 7.068852, 7.076352, 7.083852, 7.091352, 7.098852, 7.106352, 7.113852, 7.121352, 7.128852, 7.136352, 7.143852, 7.151352, 7.158852, 7.166352, 7.173852, 7.181352, 7.188852, 7.196352, 7.203852, 7.211352, 7.218852, 7.226352, 7.233852, 7.241352, 7.248852, 7.256352, 7.263852, 7.271352, 7.278852, 7.286352, 7.293852, 7.301352, 7.308852, 7.316352, 7.323852, 7.331352, 7.338852, 7.346352, 7.353852, 7.361352, 7.368852, 7.376352, 7.383852, 7.391352, 7.398852, 7.406352, 7.413852, 7.421352, 7.428852, 7.436352, 7.443852, 7.451352, 7.458852, 7.466352, 7.473852, 7.481352, 7.488852, 7.496352, 7.503852, 7.511352, 7.518852, 7.526352, 7.533852, 7.541352, 7.548852, 7.556352, 7.563852, 7.571352, 7.578852, 7.586352, 7.593852, 7.601352, 7.608852, 7.616352, 7.623852, 7.631352, 7.638852, 7.646352, 7.653852, 7.661352, 7.668852, 7.676352, 7.683852, 7.691352, 7.698852, 7.706352, 7.713852])
- dXAS_muA(delay_mm)float640.01155 0.01254 ... 0.01128 0.01315
array([0.01154773, 0.01254445, 0.01352124, 0.01254797, 0.01312793, 0.01386991, 0.01246815, 0.01322961, 0.01349947, 0.01249082, 0.01307315, 0.01397769, 0.0125552 , 0.01305398, 0.01342472, 0.01348551, 0.01439742, 0.01382439, 0.01407038, 0.01430988, 0.01325948, 0.01387517, 0.01356435, 0.01260964, 0.01288505, 0.01370188, 0.01286549, 0.01365972, 0.01270891, 0.01258189, 0.01452828, 0.01271146, 0.01285945, 0.01347758, 0.0129547 , 0.01360736, 0.01333631, 0.01222969, 0.0122804 , 0.01234595, 0.01282445, 0.01287346, 0.01268954, 0.01262415, 0.0126174 , 0.01256875, 0.01249456, 0.01249473, 0.01264892, 0.01259524, 0.01248485, 0.01268575, 0.01253872, 0.012425 , 0.01242875, 0.01236981, 0.01236384, 0.01229984, 0.01238826, 0.01221106, 0.01197197, 0.01218546, 0.01226129, 0.01222666, 0.01223607, 0.01210659, 0.01206674, 0.01207318, 0.01203217, 0.01198166, 0.01192746, 0.01178314, 0.01206876, 0.01199827, 0.01188479, 0.01192072, 0.01196299, 0.01208888, 0.01170176, 0.01182635, 0.01173473, 0.01165047, 0.0118512 , 0.01164789, 0.01155958, 0.01170846, 0.01173454, 0.01168499, 0.01156087, 0.01156731, 0.01165117, 0.01168095, 0.01155194, 0.01146482, 0.01121638, 0.01131074, 0.01144779, 0.01118668, 0.01124559, 0.01132235, 0.01165109, 0.01168422, 0.01158787, 0.01204798, 0.01230258, 0.012849 , 0.0134139 , 0.01394265, 0.0144671 , 0.01489742, 0.01486646, 0.01436536, 0.01342632, 0.01260089, 0.01174585, 0.0114215 , 0.01102588, 0.01105995, 0.01097999, 0.01105905, 0.01076589, 0.01102151, 0.01108233, 0.01096043, 0.01096086, 0.01116344, 0.01112075, 0.01098873, 0.01078453, 0.01081448, 0.01077031, 0.01071753, 0.01127673, 0.01315424])
- dXAS_sterrA(delay_mm)float640.0003915 0.0001611 ... 0.0003488
array([3.91534445e-04, 1.61112308e-04, 2.19357885e-04, 2.46879244e-04, 1.81797074e-04, 4.30674178e-04, 2.47542677e-04, 2.01913828e-04, 4.10543618e-04, 1.90499256e-04, 2.00710859e-04, 3.61620575e-04, 1.82769115e-04, 2.23071313e-04, 2.71438392e-04, 1.85326633e-04, 3.30265249e-04, 2.16268485e-04, 2.00834985e-04, 3.94001606e-04, 1.85297771e-04, 2.31424163e-04, 4.61724908e-04, 1.70796118e-04, 2.45788565e-04, 3.46216319e-04, 1.70969149e-04, 2.95489022e-04, 3.02925215e-04, 1.63291803e-04, 2.79300822e-04, 2.43539650e-04, 1.84874261e-04, 3.62952500e-04, 2.02308615e-04, 1.90508945e-04, 3.06275857e-04, 1.57243431e-04, 8.14574007e-05, 5.42024537e-05, 5.13108329e-05, 5.16840557e-05, 4.95858407e-05, 5.03216447e-05, 5.20102544e-05, 4.96237417e-05, 5.19857281e-05, 4.97056093e-05, 5.17645297e-05, 5.12748921e-05, 4.99448355e-05, 5.22170149e-05, 5.24344566e-05, 5.13947604e-05, 4.98900156e-05, 5.11818460e-05, 4.99074948e-05, 5.31292018e-05, 5.15300147e-05, 5.20094870e-05, 5.00871249e-05, 4.92025207e-05, 5.14037383e-05, 5.23980242e-05, 4.91466141e-05, 5.12981889e-05, 4.87246910e-05, 5.29334040e-05, 4.96882808e-05, 5.24554294e-05, 5.28012865e-05, 5.14687803e-05, 5.08931908e-05, 5.08666386e-05, 5.03300173e-05, 5.08216999e-05, 4.83851670e-05, 5.32870399e-05, 5.19970866e-05, 4.86270683e-05, 5.40652327e-05, 4.92770609e-05, 5.30189431e-05, 5.07791251e-05, 4.69330112e-05, 5.16217495e-05, 5.11907326e-05, 5.11707428e-05, 5.09537325e-05, 4.80688701e-05, 5.33644933e-05, 5.25870391e-05, 4.95257344e-05, 5.27693463e-05, 5.17490255e-05, 5.04515266e-05, 5.45874337e-05, 4.92694681e-05, 4.89476032e-05, 5.22709596e-05, 5.61052169e-05, 5.94342036e-05, 5.57418475e-05, 5.82885201e-05, 5.73971468e-05, 5.97411145e-05, 5.87373333e-05, 5.95443619e-05, 6.06528044e-05, 5.93704063e-05, 6.42831737e-05, 7.12025514e-05, 6.96392300e-05, 6.60412026e-05, 6.46552490e-05, 6.51248878e-05, 6.20173748e-05, 5.77919956e-05, 5.90440584e-05, 5.84278116e-05, 5.68519459e-05, 5.90477297e-05, 6.12177335e-05, 6.28652440e-05, 6.62909497e-05, 6.43210916e-05, 6.48530292e-05, 6.65867349e-05, 6.19458517e-05, 6.54928494e-05, 6.26514190e-05, 6.13822378e-05, 9.84746879e-05, 3.48789986e-04])
- dXAS_sigmaA(delay_mm)float640.003796 0.003907 ... 0.00347
array([0.00379607, 0.00390677, 0.00384346, 0.00388001, 0.00392867, 0.00392363, 0.00392962, 0.00382572, 0.00395914, 0.00379567, 0.00381878, 0.00374063, 0.00393272, 0.00372603, 0.00387692, 0.00420981, 0.00386566, 0.0042103 , 0.00388915, 0.00426178, 0.00380651, 0.00413984, 0.00454746, 0.0035989 , 0.00423584, 0.00418335, 0.00385345, 0.00411569, 0.00390292, 0.00378753, 0.00336323, 0.00397201, 0.00396942, 0.00400894, 0.00389674, 0.0036744 , 0.00368805, 0.00403047, 0.00393954, 0.00385524, 0.00387354, 0.00393037, 0.0038962 , 0.00387313, 0.0039899 , 0.00399833, 0.00394338, 0.00387289, 0.00395686, 0.00386777, 0.00391231, 0.00394334, 0.00394445, 0.0039594 , 0.00393847, 0.00392468, 0.00396317, 0.00392941, 0.00401604, 0.00399966, 0.00386613, 0.00393405, 0.00394237, 0.00394345, 0.00387729, 0.00388819, 0.00390558, 0.00393598, 0.00392128, 0.00396932, 0.00397485, 0.0039366 , 0.00389058, 0.00397542, 0.00388748, 0.00402808, 0.0039726 , 0.00401284, 0.00396442, 0.00389108, 0.00401068, 0.00391218, 0.00396651, 0.00393071, 0.00391265, 0.00402418, 0.00399386, 0.0040178 , 0.0039125 , 0.00390986, 0.00400696, 0.00406726, 0.00401128, 0.00402745, 0.00403609, 0.00396422, 0.00404095, 0.00394617, 0.0039475 , 0.00399933, 0.00404191, 0.00403409, 0.00401922, 0.00406434, 0.00403988, 0.00415018, 0.00410784, 0.00418466, 0.00413107, 0.00425027, 0.00421043, 0.00449423, 0.00449753, 0.00440253, 0.00419961, 0.00410493, 0.0040359 , 0.00382695, 0.00390897, 0.00384782, 0.00386175, 0.00385306, 0.00379797, 0.00391737, 0.00387845, 0.00382913, 0.00385644, 0.00389689, 0.00381005, 0.00387184, 0.00382841, 0.00375838, 0.00385815, 0.00347042])
- dXAS_muIo(delay_mm)float642.107e+05 2.187e+05 ... 2.267e+05
array([210713.14315558, 218672.57630266, 222394.39806545, 231818.55038828, 232161.34617919, 227637.40117913, 217085.01209407, 222504.27773424, 221683.51745931, 220977.84856487, 221398.62638367, 218786.462315 , 231080.72405983, 221606.65171756, 225695.44468827, 217023.09090682, 229299.35511219, 218836.09782921, 228086.33953976, 240126.11534775, 216435.12351717, 219777.60345135, 237153.08704184, 228497.06691482, 215444.5374572 , 216900.03964157, 219071.01625304, 224336.28445056, 199877.15512158, 218461.31576768, 233783.42714032, 232073.06522589, 223708.14520521, 223904.10833636, 223309.3297832 , 223371.03752454, 234701.23952916, 219982.72787804, 220061.62820675, 223049.42106843, 223920.80619683, 222444.1154048 , 223727.44515557, 224860.09132477, 223192.99183472, 223024.73620289, 226220.60299154, 222573.07841822, 223976.80800484, 226756.09687734, 223312.07327467, 224209.6339205 , 223961.98832768, 224912.49121143, 228423.31881197, 225043.87198956, 223203.83821204, 222608.26866028, 221157.10428112, 221244.05093379, 221292.31675769, 220680.78293633, 221883.49648162, 224373.45666152, 223415.65308671, 223745.90277075, 223471.17516864, 223050.54921355, 221843.32694409, 222290.39526854, 221780.63930035, 221276.2424722 , 225780.07809559, 221044.71439119, 223958.58330605, 221820.89431783, 221006.65941364, 222279.20434786, 220265.17749061, 224103.80172896, 226460.24268818, 224438.9925271 , 222987.70520385, 221648.56315241, 223167.69872561, 223965.13064294, 222535.80159362, 221415.54938719, 225647.31238226, 224987.6967561 , 223694.40488058, 224901.75485877, 224777.10916307, 222313.8009572 , 224582.98683159, 222198.9047561 , 221918.7553764 , 222084.40062398, 223452.91310313, 222396.85276252, 225697.57733597, 225955.75107075, 224915.4912461 , 221622.81757565, 223599.69732692, 226896.73697917, 225864.98618553, 222291.7032266 , 226967.34287913, 225565.96001351, 226074.6957432 , 223042.32087432, 223806.62542423, 222018.07889685, 225869.8560171 , 222776.7028185 , 224359.12759176, 224229.20244383, 222961.79535104, 226942.18446768, 224734.40370245, 222284.51741556, 221888.46362309, 222737.95639695, 225808.82586499, 225417.86460365, 228109.01990052, 229254.58971023, 226611.88405668, 225489.57378467, 228355.81513747, 226684.13840338, 224370.04905787, 226666.7863673 ])
- dXAS_counts(delay_mm)int6494 588 307 247 ... 3749 1535 99
array([ 94, 588, 307, 247, 467, 83, 252, 359, 93, 397, 362, 107, 463, 279, 204, 516, 137, 379, 375, 117, 422, 320, 97, 444, 297, 146, 508, 194, 166, 538, 145, 266, 461, 122, 371, 372, 145, 657, 2339, 5059, 5699, 5783, 6174, 5924, 5885, 6492, 5754, 6071, 5843, 5690, 6136, 5703, 5659, 5935, 6232, 5880, 6306, 5470, 6074, 5914, 5958, 6393, 5882, 5664, 6224, 5745, 6425, 5529, 6228, 5726, 5667, 5850, 5844, 6108, 5966, 6282, 6741, 5671, 5813, 6403, 5503, 6303, 5597, 5992, 6950, 6077, 6087, 6165, 5896, 6616, 5638, 5982, 6560, 5825, 6083, 6174, 5480, 6415, 6504, 5854, 5190, 4607, 5199, 4862, 4954, 4826, 4891, 4939, 4639, 5125, 4290, 3984, 4171, 4444, 4219, 3973, 4235, 4385, 4383, 4337, 4614, 4258, 3849, 3883, 3423, 3544, 3536, 3425, 3783, 3495, 3734, 3749, 1535, 99])
- XASp_muA(delay_mm)float640.5399 0.5283 ... 0.5221 0.5336
array([0.53985101, 0.52833756, 0.5279248 , 0.52926332, 0.53701012, 0.53244244, 0.53653515, 0.534488 , 0.5426234 , 0.53362471, 0.52943267, 0.53442696, 0.53263847, 0.53254674, 0.53030095, 0.53111137, 0.53148869, 0.53467682, 0.53587916, 0.53841188, 0.52595926, 0.52643056, 0.53467186, 0.53314513, 0.5361778 , 0.54536265, 0.53790882, 0.53035846, 0.54177834, 0.53800965, 0.53242289, 0.52536971, 0.52805607, 0.53314926, 0.53061212, 0.53112891, 0.53527123, 0.53396797, 0.52141162, 0.52361732, 0.52358965, 0.52158125, 0.5243262 , 0.52134296, 0.52155362, 0.52437978, 0.52123858, 0.52400699, 0.52349673, 0.5214264 , 0.52320642, 0.52040796, 0.52154536, 0.52260173, 0.52192019, 0.52096508, 0.52653997, 0.52529333, 0.52609641, 0.52660192, 0.52418436, 0.52532559, 0.52370018, 0.52496842, 0.52475361, 0.5258585 , 0.52537649, 0.52769676, 0.52496185, 0.52654486, 0.5266911 , 0.52554925, 0.52465272, 0.52685771, 0.52712292, 0.52664938, 0.52723247, 0.52613244, 0.52693245, 0.5266625 , 0.52348955, 0.52657602, 0.52441184, 0.52756297, 0.52617842, 0.52584163, 0.52517303, 0.52559451, 0.52711328, 0.52699018, 0.52808136, 0.525767 , 0.52583412, 0.52522888, 0.52639323, 0.52497095, 0.52587127, 0.52779245, 0.52651476, 0.5251116 , 0.52155313, 0.52014816, 0.52409652, 0.5239134 , 0.52257032, 0.51925323, 0.52174107, 0.52380188, 0.52052415, 0.51805883, 0.51928506, 0.52009434, 0.52140391, 0.52123201, 0.51985001, 0.52075462, 0.51833478, 0.51881378, 0.52055788, 0.51941166, 0.52041328, 0.51778369, 0.52170986, 0.51995173, 0.517632 , 0.51788719, 0.52123355, 0.51405389, 0.51655571, 0.51875329, 0.51648476, 0.52129213, 0.52211755, 0.53361262])
- XASp_sterrA(delay_mm)float640.005852 0.002737 ... 0.007
array([0.00585208, 0.0027367 , 0.00368294, 0.00398061, 0.00292792, 0.00721229, 0.00446386, 0.00382837, 0.00689411, 0.00344503, 0.00353603, 0.00714428, 0.00304751, 0.00392882, 0.00419597, 0.00261853, 0.0054339 , 0.00345706, 0.00341227, 0.00592312, 0.00312043, 0.00382906, 0.00677851, 0.00311841, 0.00375457, 0.00560366, 0.00285754, 0.0049034 , 0.00463845, 0.00280292, 0.00563156, 0.00419032, 0.00289802, 0.00629496, 0.00340244, 0.00320943, 0.0057264 , 0.00246497, 0.00136561, 0.00092026, 0.00085286, 0.00085471, 0.00083279, 0.00085007, 0.00085006, 0.00081871, 0.00085496, 0.00084396, 0.00084839, 0.00086213, 0.00083199, 0.00085823, 0.00085783, 0.00085159, 0.00083745, 0.00084982, 0.00081328, 0.00088544, 0.00083883, 0.00086775, 0.00084299, 0.00081727, 0.0008488 , 0.00087111, 0.00084105, 0.00086761, 0.00082949, 0.00090229, 0.00082567, 0.00088197, 0.00089151, 0.00086475, 0.00086821, 0.000835 , 0.00084395, 0.00082055, 0.00079358, 0.00087566, 0.00084259, 0.00082525, 0.00087618, 0.0008048 , 0.00088354, 0.00084955, 0.0007902 , 0.00085372, 0.00084881, 0.00083955, 0.00085656, 0.00080781, 0.00086308, 0.00084822, 0.00081948, 0.00085547, 0.00083996, 0.00084166, 0.00089386, 0.00082535, 0.00081747, 0.00083508, 0.00090356, 0.00093574, 0.00089479, 0.0009442 , 0.00093614, 0.00094664, 0.0009293 , 0.00093122, 0.00095506, 0.00091241, 0.00097739, 0.00103444, 0.00097955, 0.00096194, 0.00102172, 0.00103775, 0.00100965, 0.00097497, 0.00098082, 0.00099247, 0.00095058, 0.00099352, 0.00105967, 0.00103711, 0.00111478, 0.00108488, 0.00107864, 0.00106912, 0.00101314, 0.00108446, 0.00105567, 0.00106155, 0.00169237, 0.00699993])
- XASp_sigmaA(delay_mm)float640.05674 0.06636 ... 0.06631 0.06965
array([0.05673797, 0.06636144, 0.06453029, 0.06256024, 0.06327288, 0.06570706, 0.07086151, 0.07253719, 0.0664844 , 0.06864179, 0.06727751, 0.073901 , 0.06557453, 0.06562416, 0.05993045, 0.05948146, 0.06360223, 0.06730168, 0.06607828, 0.06406839, 0.06410181, 0.06849626, 0.06676059, 0.06570908, 0.06470514, 0.06770929, 0.06440561, 0.06829642, 0.05976229, 0.06501328, 0.06781301, 0.06834208, 0.06222314, 0.06953007, 0.06553561, 0.06190131, 0.06895495, 0.06318218, 0.06604507, 0.0654548 , 0.06438398, 0.06499757, 0.06543665, 0.06542811, 0.06521138, 0.06596567, 0.0648528 , 0.06575863, 0.06485046, 0.06503222, 0.06517172, 0.06481224, 0.06453116, 0.06560596, 0.06611076, 0.06516538, 0.06458247, 0.06548695, 0.06537489, 0.06673251, 0.06506898, 0.06534569, 0.065098 , 0.06555959, 0.06635273, 0.06576082, 0.06648852, 0.06709151, 0.06515988, 0.06673921, 0.06711242, 0.06614098, 0.06637142, 0.06525807, 0.06518684, 0.06503626, 0.06515574, 0.06594251, 0.06424183, 0.06603573, 0.06499701, 0.06389453, 0.06610035, 0.06576169, 0.06587631, 0.06655202, 0.06622364, 0.06591962, 0.06577103, 0.06570634, 0.06480582, 0.06560442, 0.06637284, 0.06529091, 0.06551137, 0.06613292, 0.06616982, 0.06610531, 0.06592687, 0.06389341, 0.06509387, 0.06351353, 0.0645177 , 0.06583714, 0.06588974, 0.06576233, 0.06499134, 0.06544415, 0.06504926, 0.06531843, 0.06401694, 0.06529268, 0.06326279, 0.06412622, 0.06636486, 0.06541142, 0.0657046 , 0.06456203, 0.06493449, 0.0653602 , 0.06456934, 0.06483033, 0.06574205, 0.06462608, 0.06522185, 0.06458453, 0.06414035, 0.06256876, 0.06231411, 0.06411139, 0.06450828, 0.06499785, 0.06630534, 0.06964844])
- XASp_muIo(delay_mm)float643.615e+05 3.709e+05 ... 3.865e+05
array([361531.33100363, 370892.80649754, 377049.76288896, 393553.99448979, 397201.10182913, 387686.27945766, 371230.88012281, 379720.07063931, 381409.71611444, 376789.68858335, 375927.94485827, 373352.55468186, 393627.71348778, 377454.75523529, 383556.69583917, 369117.53921821, 390144.45460728, 373530.57369427, 389788.15669569, 411404.18414743, 366225.80595899, 372056.86233848, 404793.7715978 , 389423.91511671, 368293.91788944, 374203.30799575, 375142.05579778, 381268.80542437, 343601.06791104, 374135.7147802 , 398145.71191248, 392455.03565489, 379326.89426437, 381597.78223568, 379619.73799257, 379920.92576273, 400848.92598608, 375221.6822791 , 370672.62321792, 376534.88126856, 377995.42676965, 374749.25842363, 377947.29258854, 378729.16642827, 376000.49103322, 376780.38087848, 380980.89121996, 375877.19503424, 378054.83229079, 381954.45660458, 376823.40067284, 377280.68765796, 377292.86018482, 379294.56735796, 384952.81285691, 378895.50144008, 377898.40594234, 376420.51590017, 374267.10781893, 374603.56706878, 373780.56171989, 373173.26413099, 374597.69194071, 379282.11746242, 377581.92198906, 378558.09232291, 377911.07733841, 378075.97974492, 375002.70887675, 376353.73049187, 375545.59243798, 374263.88840597, 381539.40565305, 374361.80329575, 379397.34422258, 375598.08724491, 374437.65028648, 376179.60738927, 373069.4606612 , 379468.59677458, 382243.92337983, 380003.30096064, 376729.89535358, 375649.32127109, 377700.63878115, 378922.61512955, 376252.71385497, 374516.4634013 , 382254.45444342, 381090.12810927, 379313.18939962, 380478.87815138, 380293.532444 , 375898.35757045, 380177.60261764, 375607.19281113, 375471.51880327, 376474.35813393, 378310.56919781, 375994.68752759, 380219.6363679 , 380120.13650014, 379867.02348396, 374237.38442259, 377068.81640963, 381361.68967628, 380573.17907997, 375325.02323149, 381965.50120178, 378672.39854154, 379992.12124005, 375198.74582581, 376977.8035394 , 373900.91181963, 379862.36338146, 374999.45064873, 376750.36286206, 376712.5904699 , 375237.18495855, 381498.51113915, 378165.73746532, 373060.96865426, 373861.23340922, 374633.31799101, 378918.34678144, 378358.8349312 , 384159.26479409, 383326.46875041, 379856.86227705, 378807.13969608, 382752.95746722, 381781.98062215, 378196.62882804, 386485.23348909])
- XASp_counts(delay_mm)int6494 588 307 247 ... 3749 1535 99
array([ 94, 588, 307, 247, 467, 83, 252, 359, 93, 397, 362, 107, 463, 279, 204, 516, 137, 379, 375, 117, 422, 320, 97, 444, 297, 146, 508, 194, 166, 538, 145, 266, 461, 122, 371, 372, 145, 657, 2339, 5059, 5699, 5783, 6174, 5924, 5885, 6492, 5754, 6071, 5843, 5690, 6136, 5703, 5659, 5935, 6232, 5880, 6306, 5470, 6074, 5914, 5958, 6393, 5882, 5664, 6224, 5745, 6425, 5529, 6228, 5726, 5667, 5850, 5844, 6108, 5966, 6282, 6741, 5671, 5813, 6403, 5503, 6303, 5597, 5992, 6950, 6077, 6087, 6165, 5896, 6616, 5638, 5982, 6560, 5825, 6083, 6174, 5480, 6415, 6504, 5854, 5190, 4607, 5199, 4862, 4954, 4826, 4891, 4939, 4639, 5125, 4290, 3984, 4171, 4444, 4219, 3973, 4235, 4385, 4383, 4337, 4614, 4258, 3849, 3883, 3423, 3544, 3536, 3425, 3783, 3495, 3734, 3749, 1535, 99])
- XASn_muA(delay_mm)float640.5514 0.5409 ... 0.5334 0.5468
array([0.55139874, 0.54088201, 0.54144604, 0.54181129, 0.55013805, 0.54631235, 0.5490033 , 0.54771761, 0.55612287, 0.54611553, 0.54250583, 0.54840466, 0.54519367, 0.54560072, 0.54372567, 0.54459688, 0.54588611, 0.54850121, 0.54994955, 0.55272177, 0.53921874, 0.54030573, 0.54823621, 0.54575477, 0.54906285, 0.55906454, 0.55077431, 0.54401818, 0.55448725, 0.55059155, 0.54695116, 0.53808118, 0.54091552, 0.54662683, 0.54356682, 0.54473627, 0.54860754, 0.54619766, 0.53369202, 0.53596328, 0.5364141 , 0.53445471, 0.53701574, 0.53396711, 0.53417102, 0.53694853, 0.53373314, 0.53650172, 0.53614565, 0.53402164, 0.53569127, 0.53309371, 0.53408408, 0.53502673, 0.53434895, 0.53333488, 0.53890381, 0.53759317, 0.53848467, 0.53881298, 0.53615634, 0.53751105, 0.53596147, 0.53719508, 0.53698968, 0.53796509, 0.53744322, 0.53976993, 0.53699402, 0.53852652, 0.53861856, 0.53733238, 0.53672148, 0.53885598, 0.53900771, 0.5385701 , 0.53919546, 0.53822132, 0.53863421, 0.53848885, 0.53522427, 0.53822649, 0.53626304, 0.53921086, 0.537738 , 0.53755009, 0.53690757, 0.5372795 , 0.53867415, 0.53855749, 0.53973254, 0.53744796, 0.53738607, 0.5366937 , 0.53760961, 0.53628169, 0.53731906, 0.53897913, 0.53776034, 0.53643396, 0.53320422, 0.53183238, 0.53568439, 0.53596138, 0.5348729 , 0.53210223, 0.53515497, 0.53774453, 0.53499125, 0.53295624, 0.53415152, 0.5344597 , 0.53483023, 0.53383289, 0.53159586, 0.53217612, 0.52936067, 0.52987374, 0.53153788, 0.53047071, 0.53117917, 0.5288052 , 0.53279219, 0.53091216, 0.52859286, 0.52905063, 0.53235429, 0.52504262, 0.52734024, 0.52956777, 0.52725506, 0.53200965, 0.53339428, 0.54676686])
- XASn_sterrA(delay_mm)float640.005814 0.002697 ... 0.00694
array([0.00581416, 0.00269702, 0.00364073, 0.00395257, 0.00290048, 0.00713194, 0.00439725, 0.00377594, 0.00683663, 0.0034055 , 0.0034937 , 0.00708941, 0.00302119, 0.00389447, 0.00415026, 0.00257192, 0.00535796, 0.00340816, 0.00336588, 0.00595332, 0.0030772 , 0.00378166, 0.00672427, 0.00309763, 0.00369788, 0.00556111, 0.00281517, 0.00482168, 0.00457251, 0.00277047, 0.00556115, 0.00412995, 0.0028617 , 0.0062191 , 0.00336856, 0.00318362, 0.00565678, 0.00243402, 0.00135013, 0.00091062, 0.00084334, 0.00084559, 0.0008249 , 0.00084211, 0.00084246, 0.00081147, 0.00084788, 0.00083568, 0.00084007, 0.00085342, 0.00082367, 0.00085015, 0.0008501 , 0.00084318, 0.0008282 , 0.00084086, 0.00080302, 0.0008752 , 0.00082852, 0.00085881, 0.00083427, 0.00080832, 0.00084064, 0.00086225, 0.00083156, 0.00085855, 0.00082053, 0.00089188, 0.00081576, 0.00087349, 0.00088377, 0.00085595, 0.00085748, 0.00082577, 0.00083369, 0.00081023, 0.00078417, 0.0008654 , 0.00083346, 0.00081703, 0.00086635, 0.00079617, 0.00087347, 0.00083884, 0.00078165, 0.0008435 , 0.00083964, 0.00082996, 0.00084704, 0.00079803, 0.0008534 , 0.00083746, 0.00081061, 0.00084624, 0.00082972, 0.00083211, 0.00088281, 0.00081675, 0.00080747, 0.00082452, 0.00089154, 0.00092251, 0.00088096, 0.0009298 , 0.00092023, 0.00092727, 0.00091234, 0.00090905, 0.00093126, 0.00088974, 0.00095486, 0.00101367, 0.00096381, 0.00094971, 0.00101128, 0.00102837, 0.0010018 , 0.00096698, 0.00097107, 0.00098301, 0.00094283, 0.00098509, 0.00105122, 0.00102844, 0.00110408, 0.00107575, 0.00106992, 0.00105852, 0.00100491, 0.00107441, 0.00104684, 0.00105306, 0.00167597, 0.00693986])
- XASn_sigmaA(delay_mm)float640.05637 0.0654 ... 0.06566 0.06905
array([0.05637034, 0.0653992 , 0.06379078, 0.06211951, 0.06267992, 0.06497507, 0.06980411, 0.07154381, 0.06593006, 0.06785419, 0.06647222, 0.07333346, 0.0650082 , 0.06505046, 0.05927757, 0.0584227 , 0.06271327, 0.06634971, 0.06517992, 0.06439501, 0.06321386, 0.06764842, 0.06622634, 0.06527115, 0.0637281 , 0.06719517, 0.06345082, 0.06715819, 0.05891272, 0.06426062, 0.06696508, 0.06735751, 0.06144339, 0.06869217, 0.06488301, 0.06140341, 0.06811665, 0.0623889 , 0.06529681, 0.06476912, 0.06366489, 0.06430369, 0.0648161 , 0.06481497, 0.0646283 , 0.06538277, 0.06431604, 0.06511344, 0.06421472, 0.06437514, 0.06452056, 0.06420162, 0.06395022, 0.06495787, 0.06538054, 0.06447811, 0.06376791, 0.06472896, 0.06457139, 0.06604494, 0.06439567, 0.06462994, 0.06447207, 0.06489269, 0.0656035 , 0.06507482, 0.06577051, 0.06631774, 0.06437803, 0.06609697, 0.06652955, 0.06546737, 0.06555115, 0.06453677, 0.06439431, 0.06421814, 0.06438316, 0.06516999, 0.06354577, 0.06537761, 0.06426775, 0.06320941, 0.06534664, 0.06493271, 0.06516385, 0.06575537, 0.06550815, 0.06516635, 0.06504019, 0.06491099, 0.06407855, 0.06477162, 0.06565419, 0.06458677, 0.06471267, 0.06538304, 0.06535179, 0.06541692, 0.06512059, 0.06308533, 0.064228 , 0.06261522, 0.06352078, 0.06483319, 0.06477015, 0.06441725, 0.06380503, 0.06388624, 0.0634283 , 0.06369599, 0.06254163, 0.06398164, 0.06224608, 0.06331078, 0.06568634, 0.06481986, 0.06519431, 0.06403249, 0.0642892 , 0.06473727, 0.06404332, 0.06428014, 0.06521773, 0.06408613, 0.06459576, 0.0640409 , 0.06362178, 0.06194833, 0.06180804, 0.06351777, 0.06396848, 0.06447795, 0.06566303, 0.06905078])
- XASn_muIo(delay_mm)float643.615e+05 3.709e+05 ... 3.865e+05
array([361531.33100363, 370892.80649754, 377049.76288896, 393553.99448979, 397201.10182913, 387686.27945766, 371230.88012281, 379720.07063931, 381409.71611444, 376789.68858335, 375927.94485827, 373352.55468186, 393627.71348778, 377454.75523529, 383556.69583917, 369117.53921821, 390144.45460728, 373530.57369427, 389788.15669569, 411404.18414743, 366225.80595899, 372056.86233848, 404793.7715978 , 389423.91511671, 368293.91788944, 374203.30799575, 375142.05579778, 381268.80542437, 343601.06791104, 374135.7147802 , 398145.71191248, 392455.03565489, 379326.89426437, 381597.78223568, 379619.73799257, 379920.92576273, 400848.92598608, 375221.6822791 , 370672.62321792, 376534.88126856, 377995.42676965, 374749.25842363, 377947.29258854, 378729.16642827, 376000.49103322, 376780.38087848, 380980.89121996, 375877.19503424, 378054.83229079, 381954.45660458, 376823.40067284, 377280.68765796, 377292.86018482, 379294.56735796, 384952.81285691, 378895.50144008, 377898.40594234, 376420.51590017, 374267.10781893, 374603.56706878, 373780.56171989, 373173.26413099, 374597.69194071, 379282.11746242, 377581.92198906, 378558.09232291, 377911.07733841, 378075.97974492, 375002.70887675, 376353.73049187, 375545.59243798, 374263.88840597, 381539.40565305, 374361.80329575, 379397.34422258, 375598.08724491, 374437.65028648, 376179.60738927, 373069.4606612 , 379468.59677458, 382243.92337983, 380003.30096064, 376729.89535358, 375649.32127109, 377700.63878115, 378922.61512955, 376252.71385497, 374516.4634013 , 382254.45444342, 381090.12810927, 379313.18939962, 380478.87815138, 380293.532444 , 375898.35757045, 380177.60261764, 375607.19281113, 375471.51880327, 376474.35813393, 378310.56919781, 375994.68752759, 380219.6363679 , 380120.13650014, 379867.02348396, 374237.38442259, 377068.81640963, 381361.68967628, 380573.17907997, 375325.02323149, 381965.50120178, 378672.39854154, 379992.12124005, 375198.74582581, 376977.8035394 , 373900.91181963, 379862.36338146, 374999.45064873, 376750.36286206, 376712.5904699 , 375237.18495855, 381498.51113915, 378165.73746532, 373060.96865426, 373861.23340922, 374633.31799101, 378918.34678144, 378358.8349312 , 384159.26479409, 383326.46875041, 379856.86227705, 378807.13969608, 382752.95746722, 381781.98062215, 378196.62882804, 386485.23348909])
- XASn_counts(delay_mm)int6494 588 307 247 ... 3749 1535 99
array([ 94, 588, 307, 247, 467, 83, 252, 359, 93, 397, 362, 107, 463, 279, 204, 516, 137, 379, 375, 117, 422, 320, 97, 444, 297, 146, 508, 194, 166, 538, 145, 266, 461, 122, 371, 372, 145, 657, 2339, 5059, 5699, 5783, 6174, 5924, 5885, 6492, 5754, 6071, 5843, 5690, 6136, 5703, 5659, 5935, 6232, 5880, 6306, 5470, 6074, 5914, 5958, 6393, 5882, 5664, 6224, 5745, 6425, 5529, 6228, 5726, 5667, 5850, 5844, 6108, 5966, 6282, 6741, 5671, 5813, 6403, 5503, 6303, 5597, 5992, 6950, 6077, 6087, 6165, 5896, 6616, 5638, 5982, 6560, 5825, 6083, 6174, 5480, 6415, 6504, 5854, 5190, 4607, 5199, 4862, 4954, 4826, 4891, 4939, 4639, 5125, 4290, 3984, 4171, 4444, 4219, 3973, 4235, 4385, 4383, 4337, 4614, 4258, 3849, 3883, 3423, 3544, 3536, 3425, 3783, 3495, 3734, 3749, 1535, 99])
- runs :
- 688,690
[15]:
fname = path + savename + '.h5'
print(fname)
ds.to_netcdf(fname, format='NETCDF4', engine='h5netcdf')
/gpfs/exfel/exp/SCS/202122/p002937/usr/processed_runs/summary-688-690.h5
[ ]: