Thanks for that but "SingleRunData = OneDataSet" seems to work
But I am not able to get data back out ! I am trying though
Yeahhhhhhh. Thank you for the help @BrendanD. You were correct after all. if I instantiate , I need all my parameters !!!
But I am not able to get data back out ! I am trying though
Yeahhhhhhh. Thank you for the help @BrendanD. You were correct after all. if I instantiate , I need all my parameters !!!
RunData = [] for x in DefocusPlanes.index: FieldAngle = (FieldAngles[x-1]) DefocusPlane = (df.iloc[(x+2):(x+2+DefocusPlanes[x]), 1:4]) SingleRunData = OneDataSet(DefocusPlane, FieldAngle, DefocusFrequency, Title, local_time) RunData.append(SingleRunData) for onedata in RunData: print (onedata.FieldAngle)So I moved it to one line !
SingleRunData = OneDataSet(DefocusPlane, FieldAngle, DefocusFrequency, Title, local_time)Now I am happy !!! thank you