Пример #1
0
 def initialize(self):
   """
    Method to initialize the Interfaced Post-processor
    @ In, None,
    @ Out, None,
   """
   PostProcessorInterfaceBase.initialize(self)
   self.inputFormat  = 'HistorySet'
   self.outputFormat = 'HistorySet'
Пример #2
0
 def initialize(self):
   """
    Method to initialize the Interfaced Post-processor
    @ In, None
    @ Out, None
   """
   PostProcessorInterfaceBase.initialize(self)
   self.inputFormat  = 'HistorySet'
   self.outputFormat = 'PointSet'
   #pivotParameter identify the ID of the temporal variable in the data set based on which
   # the operations are performed. Optional (defaul=time)
   self.pivotParameter = 'time'
   self.settings       = {'operationType':None,'operationValue':None,'pivotStrategy':'nearest'}
Пример #3
0
 def initialize(self):
     """
   Method to initialize the Interfaced Post-processor
   @ In, None,
   @ Out, None,
 """
     PostProcessorInterfaceBase.initialize(self)
     self.inputFormat = 'HistorySet'
     self.outputFormat = 'HistorySet'
     #if not hasattr(self, 'pivotParameter'):
     #  self.pivotParameter = 'Time' #FIXME this assumes the ARMA model!  Dangerous assumption.
     if not hasattr(self, 'outputLen'):
         self.outputLen = None
Пример #4
0
    def initialize(self):
        """
     Method to initialize the Interfaced Post-processor
     @ In, None,
     @ Out, None,

    """

        PostProcessorInterfaceBase.initialize(self)
        self.inputFormat = None
        self.outputFormat = None

        self.label = None
        self.clusterIDs = []
Пример #5
0
  def initialize(self):
    """
     Method to initialize the Interfaced Post-processor
     @ In, None,
     @ Out, None,

    """
    PostProcessorInterfaceBase.initialize(self)
    self.inputFormat  = 'HistorySet'
    self.outputFormat = 'PointSet'

    self.pivotParameter       = None
    #pivotParameter identify the ID of the temporal variable in the data set; it is used so that in the
    #conversion the time array is not inserted since it is not needed (all histories have same length)
    self.features     = 'all'
Пример #6
0
  def initialize(self, numberOfSamples=None, pivotParameter=None, extension=None, syncMethod=None):
    '''
      Method to initialize the Interfaced Post-processor
      @ In, numberOfSamples, int, (default None)
      @ In, pivotParameter, str, ID of the pivot paramter (e.g., time)
      @ In, extension, type of extension to be employed
      @ In, syncMethod, type of syncrhonization method
      @ Out, None,
    '''
    PostProcessorInterfaceBase.initialize(self)
    self.inputFormat  = 'HistorySet'
    self.outputFormat = 'HistorySet'

    self.numberOfSamples = numberOfSamples
    self.pivotParameter  = pivotParameter
    self.extension       = extension
    self.syncMethod      = syncMethod
Пример #7
0
  def initialize(self):
    """
     Method to initialize the Interfaced Post-processor
     @ In, None,
     @ Out, None,

    """

    PostProcessorInterfaceBase.initialize(self)
    self.inputFormat  = 'HistorySet'
    self.outputFormat = 'HistorySet'

    self.samplingType    = None
    self.numberOfSamples = None
    self.tolerance       = None
    self.pivotParameter  = None
    self.interpolation   = None
Пример #8
0
    def initialize(self,
                   numberOfSamples=None,
                   pivotParameter=None,
                   extension=None,
                   syncMethod=None):
        """
     Method to initialize the Interfaced Post-processor
     @ In, None,
     @ Out, None,

    """
        PostProcessorInterfaceBase.initialize(self)
        self.inputFormat = 'HistorySet'
        self.outputFormat = 'HistorySet'

        self.numberOfSamples = numberOfSamples
        self.pivotParameter = pivotParameter
        self.extension = extension
        self.syncMethod = syncMethod
Пример #9
0
    def initialize(self):
        """
      Method to initialize the Interfaced Post-processor
      @ In, None,
      @ Out, None,
    """

        PostProcessorInterfaceBase.initialize(self)
        self.inputFormat = 'HistorySet'
        self.outputFormat = 'PointSet'

        self.type = None
        self.pivotParameter = None
        self.pivotVar = None
        self.pivotVal = None
        self.timeInstant = None

        self.numberOfSamples = None
        self.pivotParameter = None
        self.interpolation = None

        self.classifiers = {}  #for "mixed" mode