// use REAL dimension size rather than what is presented in the
// axes manager
dim_list.append(usid.Dimension(dim_name, dim_units,
np.arange(dim.offset,
dim.offset + dim_size *
dim.scale,
dim.scale)))
if len(dim_list) == 0:
return usid.Dimension("Arb", "a. u.", 1)
return dim_list[::-1]
After Change
dim_units = temp
// use REAL dimension size rather than what is presented in the
// axes manager
ar = np.arange(dim.size) * dim.scale + dim.offset
dim_list.append(usid.Dimension(dim_name, dim_units, ar))
if len(dim_list) == 0:
return usid.Dimension("Arb", "a. u.", 1)