add parameter bruch to sheartest
This commit is contained in:
parent
afbbfa9316
commit
5ee277b20d
@ -208,6 +208,8 @@ class ShearTestExtension(ShearTest):
|
|||||||
#
|
#
|
||||||
**values).save()
|
**values).save()
|
||||||
except:
|
except:
|
||||||
|
print('error saving data')
|
||||||
|
raise
|
||||||
rdata.delete()
|
rdata.delete()
|
||||||
|
|
||||||
def _set_parameter(self):
|
def _set_parameter(self):
|
||||||
|
@ -46,47 +46,48 @@ class DynamicShearTest(Document):
|
|||||||
class DynamicShearTestExtension(DynamicShearTest):
|
class DynamicShearTestExtension(DynamicShearTest):
|
||||||
|
|
||||||
#metadata
|
#metadata
|
||||||
f = FloatField()
|
f = FloatField(required=True)
|
||||||
sigma_normal = FloatField()
|
sigma_normal = FloatField(required=True)
|
||||||
T = FloatField()
|
T = FloatField(required=True)
|
||||||
extension = FloatField()
|
extension = FloatField(required=True)
|
||||||
|
|
||||||
#results
|
#results
|
||||||
data = LazyReferenceField(DataSheartest,
|
data = LazyReferenceField(DataSheartest,
|
||||||
required=True,
|
required=True,
|
||||||
reverse_delete_rule=CASCADE)
|
reverse_delete_rule=CASCADE)
|
||||||
|
|
||||||
stiffness = FloatField()
|
stiffness = FloatField(required=True)
|
||||||
|
bruch = BooleanField(required=True)
|
||||||
#fit parameter
|
#fit parameter
|
||||||
## F
|
## F
|
||||||
fit_amp_F = FloatField()
|
fit_amp_F = FloatField(required=True)
|
||||||
fit_freq_F = FloatField()
|
fit_freq_F = FloatField(required=True)
|
||||||
fit_phase_F = FloatField()
|
fit_phase_F = FloatField(required=True)
|
||||||
fit_offset_F = FloatField()
|
fit_offset_F = FloatField(required=True)
|
||||||
fit_slope_F = FloatField()
|
fit_slope_F = FloatField(required=True)
|
||||||
## S1
|
## S1
|
||||||
fit_amp_s_vert_1 = FloatField()
|
fit_amp_s_vert_1 = FloatField(required=True)
|
||||||
fit_freq_s_vert_1 = FloatField()
|
fit_freq_s_vert_1 = FloatField(required=True)
|
||||||
fit_phase_s_vert_1 = FloatField()
|
fit_phase_s_vert_1 = FloatField(required=True)
|
||||||
fit_offset_s_vert_1 = FloatField()
|
fit_offset_s_vert_1 = FloatField(required=True)
|
||||||
fit_slope_s_vert_1 = FloatField()
|
fit_slope_s_vert_1 = FloatField(required=True)
|
||||||
r2_s_vert_1 = FloatField()
|
r2_s_vert_1 = FloatField(required=True)
|
||||||
## S2
|
## S2
|
||||||
fit_amp_s_vert_2 = FloatField()
|
fit_amp_s_vert_2 = FloatField(required=True)
|
||||||
fit_freq_s_vert_2 = FloatField()
|
fit_freq_s_vert_2 = FloatField(required=True)
|
||||||
fit_phase_s_vert_2 = FloatField()
|
fit_phase_s_vert_2 = FloatField(required=True)
|
||||||
fit_offset_s_vert_2 = FloatField()
|
fit_offset_s_vert_2 = FloatField(required=True)
|
||||||
fit_slope_s_vert_2 = FloatField()
|
fit_slope_s_vert_2 = FloatField(required=True)
|
||||||
r2_s_vert_2 = FloatField()
|
r2_s_vert_2 = FloatField(required=True)
|
||||||
## S-Sum
|
## S-Sum
|
||||||
fit_amp_s_vert_sum = FloatField()
|
fit_amp_s_vert_sum = FloatField(required=True)
|
||||||
fit_freq_s_vert_sum = FloatField()
|
fit_freq_s_vert_sum = FloatField(required=True)
|
||||||
fit_phase_s_vert_sum = FloatField()
|
fit_phase_s_vert_sum = FloatField(required=True)
|
||||||
fit_offset_s_vert_sum = FloatField()
|
fit_offset_s_vert_sum = FloatField(required=True)
|
||||||
fit_slope_s_vert_sum = FloatField()
|
fit_slope_s_vert_sum = FloatField(required=True)
|
||||||
r2_s_vert_sum = FloatField()
|
r2_s_vert_sum = FloatField(required=True)
|
||||||
## r2
|
## r2
|
||||||
r2_F = FloatField()
|
r2_F = FloatField(required=True)
|
||||||
r2_s_vert_1 = FloatField()
|
r2_s_vert_1 = FloatField(required=True)
|
||||||
r2_s_vert_2 = FloatField()
|
r2_s_vert_2 = FloatField(required=True)
|
||||||
r2_s_vert_sum = FloatField()
|
r2_s_vert_sum = FloatField(required=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user