Ticket #7268 (closed: fixed)
Extend LoadVTK
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description (last modified by Nick Draper) (diff)
Under #7252, a loader for a specific flavour of vtk legacy image data to MDHistoWorkspaces was created. We currently think that utilising the inherent splitting box structure available in the MDEventWorkspace would be a good solution to providing an increased level of detail in regions of interest would be a highly useful option. It would also allow the data to be reasonably visualised using the VSI tools.
- Change LoadVTK to output IMDWorkspaces
- Split off the current processing route into a separate function
- Add a new loading route to handle MDEventWorkspaces
- Add an option in the loader to choose what type of workspace to output.
Change History
comment:1 Changed 7 years ago by Owen Arnold
- Status changed from new to accepted
- Description modified (diff)
comment:2 Changed 7 years ago by Owen Arnold
Benchmark performance of existing Load routine using run of performance tests.
time="0.051602"
comment:3 Changed 7 years ago by Owen Arnold
refs #7268. Extract processing to new method.
Changeset: 89305cdc5680ec8652ebaa5d800f86ac1dcec3a8
comment:4 Changed 7 years ago by Owen Arnold
refs #7268. Change API to allow for MDEventWS.
Changeset: 19a5c42d0c36cfd0c025701384a772c3f6a57c46
comment:5 Changed 7 years ago by Owen Arnold
refs #7268. Primative MDEventWorkspaces. Missing splitAllIfNeeded.
Changeset: 2aaf4fb45eddce99db0aeeaf9e8d2cb59408ecad
comment:6 Changed 7 years ago by Owen Arnold
refs #7268. Adaptive binning.
A works in progress
Changeset: 34c8e0f1b5996b8a8f38371a2165136f27192e01
comment:7 Changed 7 years ago by Owen Arnold
Modifications to iron_protein made using the following paraview filter code:
pdi = self.GetInput() pdo = self.GetOutput() newData = vtk.vtkUnsignedShortArray() newData.SetName("scalar_array") npoints = pdi.GetNumberOfPoints() for i in range(npoints): if i < 10000: newData.InsertNextValue(i) else: newData.InsertNextValue(0) pdo.GetPointData().AddArray(newData)
comment:8 Changed 7 years ago by Owen Arnold
refs #7268. Fully working with MDEvent workspaces.
Changeset: 0a87bc8707ba3eeae9334e169fec5b9b23b52ba2
comment:9 Changed 7 years ago by Owen Arnold
refs #7268. Fix non-universal typedef.
Changeset: d43e173de90544b6832a87611318f42d0b1dea5f
comment:11 Changed 7 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
comment:12 Changed 7 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg
comment:13 Changed 7 years ago by Martyn Gigg
- Status changed from verifying to closed
Checked using the fly dataset. I can now load it using the adaptive binning option and it has a more coarse structure as expected. It also uses much less memory. Increasing the threshold does indeed bring in more of the sparse signal areas.
comment:14 Changed 7 years ago by Nick Draper
- Component changed from VATES to Framework
- Description modified (diff)
comment:15 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 8114