tree_model
Module Contents
Classes
Contains the files with their respective particles. Also seems to house the actual data objects. |
|
An item model for the dataset tree view. |
Attributes
- class tree_model.DatasetTreeNode(name, dataobj, datatype, checked=False)[source]
Bases:
objectContains the files with their respective particles. Also seems to house the actual data objects.
- data(in_column)[source]
Return the data from a provided index
- Parameters:
in_column (Index of column)
- Return type:
- class tree_model.DatasetTreeModel[source]
Bases:
PyQt5.QtCore.QAbstractItemModelAn item model for the dataset tree view.
- addChild(in_node, in_parent=None)[source]
TODO: Docstring
- Parameters:
in_node
in_parent
progress_sig
- index(in_row, in_column, in_parent=None)[source]
TODO: Docstring
- Parameters:
in_row
in_column
in_parent
- get_particle(ind) smsh5.Particle[source]
Returns the smsh5.Particle object of the ind’th tree particle.
- Parameters:
ind (int) – The index of the particle.
- Return type: