Closed prjemian closed 8 years ago
see https://github.com/nexpy/nexpy/issues/95#issuecomment-236217526
Basically, this test defines a valid length for a NeXus dimension scale
length_ok = len(scale) - len(signal_data_axis) in (0, 1)
Make sure this is the validation test that is applied
this
length_ok = dscale[i].shape[0] - signal_data.shape[i] in (0, 1)
where i is the i'th dimension of the plottable data
i
see https://github.com/nexpy/nexpy/issues/95#issuecomment-236217526
Basically, this test defines a valid length for a NeXus dimension scale
Make sure this is the validation test that is applied