Skip to main content
Namespace: Ans.DataProcessing

Summary

Entity able to access the model’s metadata and results thanks to the result file path

Example

Class Information

Constructors

Constructor

Parameters:
  • allowKeepFileOpen (bool)

Constructor

Parameters:
  • dataSources (DataSources)
  • allowKeepFileOpen (bool)

Constructor

Parameters:
  • resultPath (str)
  • extension (str)
  • allowKeepFileOpen (bool)

Constructor

Parameters:
  • resultPath (str)
  • allowKeepFileOpen (bool)

Methods

SetResultFilePath

Method SetResultFilePath change or set the result file path
Parameters:
  • filePath (str)
  • sKey (str)

ReleaseStreams

Method ReleaseStreams if the model was allowed to keep files open using streams (see constructors), this method closes the files.

CreateOperator

Method CreateOperator create an operator with its name and connect the datasources/streams to it. If plugins have been loaded, inputs and outputs APIs are available.
Parameters:
  • opName (str)
  • config (OperatorConfig (optional))
Returns: BaseOperator

ToString

Returns: str

GetNamedSelection

Method GetNamedSelection get the scoping related to the asked named selection
Parameters:
  • name (str)
Returns: Scoping

Properties

results

Access results provider of the model Type: ModelsResults

DataSources

Property DataSources containing the file paths Type: DataSources

TimeFreqSupport

Property TimeFreqSupport describes the time or frequency support of the model Type: TimeFreqSupport

TimeFreqSupportProvider

Property TimeFreqSupportProvider operator allowing to access the TimeFreqSupport Type: BaseOperator

Mesh

Property Mesh contains spatial information of the model Type: MeshedRegion

MeshProvider

Property MeshProvider operator allowing to access the MeshedRegion Type: BaseOperator

ResultInfo

Property ResultInfo contains information about the analysis Type: ResultInfo

ResultInfoProvider

Property ResultInfoProvider operator allowing to access the ResultInfo Type: BaseOperator

ResultFilePath

Property ResultFilePath path to the result file registered in the data sources Type: str

StreamsProvider

Property StreamsProvider operator allowing to access the Streams containing the DataSources and allowing to keep some data in cache Type: Operator

AvailableNamedSelections

Property AvailableNamedSelections list of named selections’ names availables in the mesh Type: list