Auswertung CITT Geosys One TU Dresden
This commit is contained in:
@@ -365,6 +365,50 @@ class CITT_TUDresdenWille(CITTBase):
|
||||
|
||||
print(data.head())
|
||||
|
||||
class CITT_TUDresdenGeosysOne(CITTBase):
|
||||
|
||||
def _define_units(self):
|
||||
|
||||
self.unit_s = 1 / 1000. #mm
|
||||
self.unit_F = 1.0 #N
|
||||
self.unit_t = 1. #s
|
||||
|
||||
def update_parameter(self):
|
||||
|
||||
self.meta_names_of_parameter = {
|
||||
|
||||
't': ['Zeit'],
|
||||
'speciment_diameter': ['Probekörberdurchmesser', 'Probekörberbreite'],
|
||||
'speciment_height': ['Probekörperhöhe'],
|
||||
} #list of names
|
||||
|
||||
self.data_column_names = {
|
||||
'time': ['Zeit'],
|
||||
'sigma': ['Oberspannung (Sollwert)'],
|
||||
'f': ['Frequenz'],
|
||||
'T': ['Temperatur (Sollwert)'],
|
||||
'F': ['Kraft'],
|
||||
'N': ['Zyklenzähler'],
|
||||
's_hor_1': ['Horizontale Verformung LVDT 1'],
|
||||
's_hor_2': ['Horizontale Verformung LVDT 2'],
|
||||
's_piston': ['Weg'],
|
||||
}
|
||||
|
||||
def _process_data(self):
|
||||
|
||||
meta, data = read_geosys(self.data, '009', metadata_ids=['001'])
|
||||
|
||||
#define in class
|
||||
self.data = data.reset_index()
|
||||
self.metadata.update(meta)
|
||||
|
||||
# log infos
|
||||
self._logger.debug(f'metadata: {self.metadata}')
|
||||
self._logger.debug(f'data: {self.data.head()}')
|
||||
|
||||
print(data.head())
|
||||
|
||||
|
||||
class CITT_TUDresdenTira(CITTBase):
|
||||
|
||||
def _define_units(self):
|
||||
|
||||
Reference in New Issue
Block a user