Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/h/e/helixmc-0.8/helixmc/pose.py   helixmc(Download)
import mpl_toolkits.mplot3d.axes3d as p3
from util import params2data, writhe_exact, writhe_fuller, ribbon_twist
from util import params2coords, unitarize, dr2coords, circmean
from __init__ import ez
 
                ' of current HelixPose (0 - %d).' % (i, self._n_bp))
        if o is None or R is None:
            o, R = params2coords(params)
        self._obs_clear()
 
                'of current HelixPose (0 - %d).' % (i, self._n_bp))
        if o is None or R is None:
            o, R = params2coords(params)
 
        self._params_new = params

src/h/e/helixmc-0.8/helixmc/random_step.py   helixmc(Download)
import numpy as np
import abc
from util import params2coords, circmean, locate_data_file
from __init__ import random
 
            self._params_cov[np.abs(self._params_cov) < 1e-15] = 0
            ######
            self._o_list, self._R_list = params2coords(self._params)
            self._n_bp_step = self._params.shape[0]
        self.gaussian_sampling = self.gaussian_sampling
                self._cached_params = random.multivariate_normal(
                    self._params_avg, self._params_cov, self._max_cached_data)
                self._o_list, self._R_list = params2coords(self._cached_params)
            return (
                self._cached_params[self._idx], self._o_list[self._idx],