|
TRUST 1.9.8
HPC thermohydraulic platform
|
No documentation.
No documentation.
No documentation.
No documentation.
.son file resulting from a probes
Build either a SonPOINTFile or SonSEGFile depending on the header
No documentation.
No documentation.
.son files resulting of a Point probes
No documentation.
For a segment file, getNewValues() will return None, None everytime the last line has changed. Hence by default the API of a seg file return
Return only seg entries (i.e. not normal point entries)
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
No documentation.
Constructor: TrustFile(self, filePath, refFilePath)
Parameters:
| Name | Type | Description |
|---|---|---|
| filePath | str | Trust file to parse |
| refFilePath | str | file serving as a reference to know if the main file has been reset. This is typically the stop file. Can be None for test purposes (in this case only size of the main file will be inspected). |
Returns: a list of file entries (i.e. what can be ploted from the file)
Return values to be appended to the last retrieved ones to get the full set of data.
Parameters:
| Name | Type | Description |
|---|---|---|
| entryName | str | Name of the variable |
Returns: two (potentially void) np arrays (x and y) Note — after a file reset, it will return None, None on an entryName as long as getValues() hasn't been called once.
Get all current valid values from the file.
Parameters:
| Name | Type | Description |
|---|---|---|
| entryName | str | Name of the variable |
Returns: two np.arrays (x and y)
No documentation.
Object factory.