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