MCPcopy Create free account
hub / github.com/Kitware/ParaView / SetFileName

Method SetFileName

Wrapping/Python/paraview/algorithms/openpmd.py:190–206  ·  view source on GitHub ↗

Specify filename for the file to read. Path to ".pmd" one-line text file that holds the file name pattern for _series open opening pattern. Reference on syntax in the file: - https://github.com/openPMD/openPMD-standard/blob/1.1.0/STANDARD.md#hierarchy-of-the-data-file

(self, name)

Source from the content-addressed store, hash-verified

188 return self._speciesselection
189
190 def SetFileName(self, name):
191 """Specify filename for the file to read.
192
193 Path to ".pmd" one-line text file that holds the file name pattern for _series open
194 opening pattern. Reference on syntax in the file:
195 - https://github.com/openPMD/openPMD-standard/blob/1.1.0/STANDARD.md#hierarchy-of-the-data-file
196 - https://github.com/openPMD/openPMD-standard/blob/1.1.0/STANDARD.md#iterations-and-time-series
197 - https://openpmd-api.readthedocs.io/en/latest/_static/doxyhtml/classopen_p_m_d_1_1_series.html
198 """
199 if self._filename != name:
200 self._filename = name
201 self._timevalues = None
202 if self._series:
203 self._series = None
204 # updates the modified data source time to indicate a changed state in VTK
205 # this triggers (partial/needed) pipeline updates when executed
206 self.Modified()
207
208 def GetTimestepValues(self):
209 """Which physical time step values (as float) are available?

Callers 7

writeLightArrayMethod · 0.45
writeMeshArrayMethod · 0.45
writeArrayMethod · 0.45
convertImageToFloatFunction · 0.45
writeOrderSpriteMethod · 0.45
processDirectoryMethod · 0.45
WriteAnimationGeometryFunction · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by

no test coverage detected