Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbee Question
#5
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 !!!

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
Reply


Messages In This Thread
Newbee Question - by chas777 - Apr-01-2020, 05:24 PM
RE: Newbee Question - by BrendanD - Apr-01-2020, 05:29 PM
RE: Newbee Question - by chas777 - Apr-01-2020, 06:08 PM
RE: Newbee Question - by BrendanD - Apr-01-2020, 06:35 PM
RE: Newbee Question - by chas777 - Apr-01-2020, 06:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  file handling Newbee question middlecope 2 787 Jan-18-2023, 03:09 PM
Last Post: middlecope
  Useless Newbee craigpusey 2 69,756 Mar-04-2020, 02:13 PM
Last Post: craigpusey
  Newbee - substing of column andrewjmdata 2 2,701 Feb-17-2018, 07:04 PM
Last Post: andrewjmdata

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020