unit_str = plot.curves[whatset].units.y
output_str = lib.prettyformat.pretty_format(forcebase, unit_str, decimals, multiplier)
self.AppendToOutput(''.join(['Force: ', output_str]))
-\r
+
def plotmanip_multiplier(self, plot, current, customvalue=False):
'''
- Multiplies all the Y values of an SMFS curve by a value stored in the 'force_multiplier'\r
+ Multiplies all the Y values of an SMFS curve by a value stored in the 'force_multiplier'
configuration variable. Useful for calibrations and other stuff.
'''
force_multiplier = self.GetFloatFromConfig('generalvclamp', 'force_multiplier')
if force_multiplier == 1:
- return plot\r
+ return plot
plot.curves[lh.EXTENSION].y = [element * force_multiplier for element in plot.curves[lh.EXTENSION].y]
plot.curves[lh.RETRACTION].y = [element * force_multiplier for element in plot.curves[lh.RETRACTION].y]
-\r
- return plot\r
+
+ return plot
def plotmanip_flatten(self, plot, current, customvalue=0):
'''