PyTuflow: Difference between revisions

From Tuflow
Jump to navigation Jump to search
Content deleted Content added
Line 7: Line 7:
<pre>
<pre>
import pytuflow as tu
import pytuflow as tu



res = tu.ResData() # initialising as an empty object
res = tu.ResData() # initialising as an empty object

res = tu.ResData('M01_5m_001.tpc') # initialising with results
res = tu.ResData('M01_5m_001.tpc') # initialising with results
</pre>
</pre>

Revision as of 14:45, 8 February 2019

Class: ResData

Class for TUFLOW time series results.

Initialised as an empty object, or with results with a *.tpc in TUFLOW 2016 release and later or *.info in TUFLOW 2013 release.

import pytuflow as tu


res = tu.ResData()  # initialising as an empty object

res = tu.ResData('M01_5m_001.tpc')  # initialising with results