-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
coll = tfs.plasma.load_background_from_quartz()
dax = coll.plot_as_profile2d('cprof_1djpar', plot_config=config, dref_vectorZ={'key': 'cprof_t'}, ref_com='eq_t', dres=0.03)
/data/home/dvezinet/projects/datastock/datastock/_class1_uniformize.py:191: UserWarning: Multiple possible vectors found:
['eq_t', 'eq_m2d0_bs1_ap0', 'eq_m2d0_bs1_ap1']
- key0: eq_2drhotn
- ref: None
- hasref: None
- refok: ('eq_nt', 'eq_m2d0_bs1_n0', 'eq_m2d0_bs1_n1')This message does not help choosing the right kwdarg or how to use it:
- ref_com ?
- ref_vector_strategy ?
- dref_vectorZ ?
- dref_vectorU ?
- other ?
The result is that a 1d profiles gets interpolated in one extra dimension, resulting in a blank image:
dax.ddata[dax.dobj['mobile']['cprof_1djpar_im']['data'][0]]['data'].shape
> (345, 72, 51, 114)
dax.show_data()
ref key size nb. data nb. data monot. indices group increment
-------------------- ---- -------- --------------- --------- ----- ---------
cprof_nt 345 11 1 [0] Z [1, 10]
eq_nt 72 9 1 [0] U [1, 10]
cprof_m1d_nk 21 1 1 None None [1, 10]
cprof_m1d_nc 20 1 1 None None [1, 10]
eq_m2d0_x0_temp_n 51 2 1 [0, 0, 0] X [1, 10]
eq_m2d0_x1_temp_n 114 2 1 [0, 0, 0] Y [1, 10]
cprof_1djpar_nradius 21 2 1 None None [1, 10]
data shape ref dim quant name units bsplines
------------------- ------------------ --------------------------------------------------------------- -------- ----- ------ ------ --------
cprof_neVol (345,) ('cprof_nt',) density ne 1 / m3
cprof_betat (345,) ('cprof_nt',) beta betat
cprof_Wdia (345,) ('cprof_nt',) Energy Wdia J
cprof_TeVol (345,) ('cprof_nt',) Te Te eV
cprof_betap (345,) ('cprof_nt',) beta betap
cprof_Ip (345,) ('cprof_nt',) current Ip A
cprof_betatn (345,) ('cprof_nt',) beta betatn
cprof_Vloop (345,) ('cprof_nt',) voltage Vloop V
cprof_t (345,) ('cprof_nt',) time time s
eq_a (72,) ('eq_nt',) distance m
eq_qax (72,) ('eq_nt',) q
eq_t (72,) ('eq_nt',) time time s
eq_Ip (72,) ('eq_nt',) current A
eq_q95 (72,) ('eq_nt',) q
eq_magaxZ (72,) ('eq_nt',) distance m
eq_qmin (72,) ('eq_nt',) q
cprof_m1d_c (20,) ('cprof_m1d_nc',) rho rhotn rhotn
eq_magaxR (72,) ('eq_nt',) distance m
cprof_m1d_k (21,) ('cprof_m1d_nk',) rho rhotn rhotn
eq_m2d0_x0_temp (51,) ('eq_m2d0_x0_temp_n',) m
eq_m2d0_x1_temp (114,) ('eq_m2d0_x1_temp_n',) m
cprof_1djpar (345, 72, 51, 114) ('cprof_nt', 'eq_nt', 'eq_m2d0_x0_temp_n', 'eq_m2d0_x1_temp_n') A / m2
cprof_1djpar_radius (21,) ('cprof_1djpar_nradius',)
cprof_1djpar_radial (345, 21) ('cprof_nt', 'cprof_1djpar_nradius') 
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels