parameters: (self, dataset=None)
return_statement: return out
docstring: Returns a dictionary of PhysicalProperties attributes for use with IFunction
docstring_summary: Returns a dictionary of PhysicalProperties attributes for use with IFunction
docstring_tokens: Returns a dictionary of PhysicalProperties attributes for use with IFunction
function: def getAttributes(self, dataset=None):
          """Returns a dictionary of PhysicalProperties attributes for use with IFunction"""
          dataset = '' if dataset is None else str(dataset)
          out = {}
          if self._typeid != self.HEATCAPACITY:
              out['Unit%s' % (dataset)] = self._physpropUnit
              if 'powder' in self._hdir:
                  out['powder%s' % (dataset)] = 1
              else:
                  out['Hdir%s' % (dataset)] = [float(hh) for hh in self._hdir] # needs to be list
              if self._typeid != self.MAGNETISATION:  # either susceptibility or M(T)
                  out['inverse%s' % (dataset)] = 1 if self._suscInverseFlag else 0
                  if self._typeid == self.MAGNETICMOMENT:
                      out['Hmag%s' % (dataset)] = self._hmag
                  if self._typeid == self.SUSCEPTIBILITY:
                      out['Lambda%s' % (dataset)] = self._lambda
                      out['Chi0%s' % (dataset)] = self._chi0
          return out
function_tokens: def getAttributes ( self , dataset = None ) : dataset = '' if dataset is None else str ( dataset ) out = { } if self . _typeid != self . HEATCAPACITY : out [ 'Unit%s' % ( dataset ) ] = self . _physpropUnit if 'powder' in self . _hdir : out [ 'powder%s' % ( dataset ) ] = 1 else : out [ 'Hdir%s' % ( dataset ) ] = [ float ( hh ) for hh in self . _hdir ] # needs to be list if self . _typeid != self . MAGNETISATION : # either susceptibility or M(T) out [ 'inverse%s' % ( dataset ) ] = 1 if self . _suscInverseFlag else 0 if self . _typeid == self . MAGNETICMOMENT : out [ 'Hmag%s' % ( dataset ) ] = self . _hmag if self . _typeid == self . SUSCEPTIBILITY : out [ 'Lambda%s' % ( dataset ) ] = self . _lambda out [ 'Chi0%s' % ( dataset ) ] = self . _chi0 return out