PyTuflow: Difference between revisions

Content deleted Content added
No edit summary
Line 6:
 
<pre>
import pytuflow as tu
 
 
res = tupytuflow.ResData() # initialising as an empty object
# or
res = tupytuflow.ResData('M01_5m_001.tpc') # initialising with results
</pre>
 
Line 200:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 232:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 265:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 295:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 326:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 358:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 391:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 423:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 455:
<pre>
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 538:
<pre>
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 591:
<pre>
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 655:
import matplotlib.pyplot as plt # plotting library
from matplotlib.patches import Polygon # will add pipes and culverts as polygon
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 733:
<pre>
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 774:
<pre>
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 830:
import os # library for operating system file and directory manipulation
import matplotlib.pyplot as plt # plotting library
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 891:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 916:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 957:
Maximum flow in a channel
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 978:
Maximum water level at a node
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,017:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,047:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,076:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,106:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,136:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,167:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,199:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,229:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,260:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,291:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,320:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,349:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,380:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,409:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,438:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,469:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,507:
'''Example'''
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file
Line 1,546:
'''Example'''<br>
<pre>
import pytuflow as tu
 
# Initialise result class
res = tupytuflow.ResData()
 
# load .tpc result file