304-fitparameter #305

Merged
dominik merged 4 commits from 304-fitparameter into master 2025-01-23 18:11:45 +00:00
Showing only changes of commit 8fd73ce487 - Show all commits

View File

@ -146,10 +146,11 @@ class AsciiReader:
raw_data = raw_data.reshape((1, *raw_data.shape)) raw_data = raw_data.reshape((1, *raw_data.shape))
if len(x) == 0 or raw_data.shape[2] == 1: if len(x) == 0 or raw_data.shape[2] == 1:
_temp = np.zeros((raw_data.shape[0], raw_data.shape[1], raw_data.shape[2]+1)) raw_data = raw_data.reshape(raw_data.shape[0], raw_data.shape[2], raw_data.shape[1])
_temp[:, :, 0] = np.arange(raw_data.shape[1]) # _temp = np.zeros((raw_data.shape[0], raw_data.shape[2], raw_data.shape[1]))
_temp[:, :, 1:] = raw_data # _temp[:, :, 0] = np.arange(raw_data.shape[1])
raw_data = _temp # _temp[:, :, 1:] = raw_data
# raw_data = _temp
if y: if y:
y = [i+1 for i in y] y = [i+1 for i in y]