From bc008b25195778d425a5732ab6dfbf990b46aca9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 31 May 2013 14:55:26 -0400 Subject: [PATCH] crunch.py: Extract unfolding frequency from unfold-protein curves --- posts/Comparing_velocity_clamp_experiments/crunch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posts/Comparing_velocity_clamp_experiments/crunch.py b/posts/Comparing_velocity_clamp_experiments/crunch.py index 5b261c8..a773099 100755 --- a/posts/Comparing_velocity_clamp_experiments/crunch.py +++ b/posts/Comparing_velocity_clamp_experiments/crunch.py @@ -157,6 +157,7 @@ def load_pull(filename=pull_file, with_temperature=True): alpha_v = _numpy.array(f['unfold']['z'][...].flat, dtype=float) alpha_f = _numpy.array( f['unfold']['deflection'][...].flat, dtype=float) + frequency = float(f['config']['unfold']['frequency'][...]) v = float(f['config']['unfold']['velocity'][...]) if with_temperature: temperature = float(f['environment']['temperature'][...]) @@ -165,6 +166,7 @@ def load_pull(filename=pull_file, with_temperature=True): return { 'alpha_v': alpha_v, 'alpha_f': alpha_f, + 'frequency': frequency, 'velocity': v, 'temperature': temperature, } -- 2.26.2