Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/xdrfile/core.py   MDAnalysis(Download)
import libxdrfile2, statno
from MDAnalysis.coordinates import base
from MDAnalysis.coordinates.core import triclinic_box, triclinic_vectors
 
import MDAnalysis.core
        y = self._unitcell[1]
        z = self._unitcell[2]
        return triclinic_box(x,y,z)
 
class TrjWriter(base.Writer):

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/GRO.py   MDAnalysis(Download)
import base
import MDAnalysis.core.util as util
from MDAnalysis.coordinates.core import triclinic_box, triclinic_vectors
 
from copy import deepcopy
                y = self._unitcell[[5,1,6]]
                z = self._unitcell[[7,8,2]]  # this ordering is correct! (checked it, OB)
                return triclinic_box(x,y,z)
 
class GROReader(base.Reader):

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/DMS.py   MDAnalysis(Download)
import base
import MDAnalysis.core.util as util
from MDAnalysis.coordinates.core import triclinic_box, triclinic_vectors
 
from copy import deepcopy
                y = self._unitcell['y']
                z = self._unitcell['z']  # this ordering is correct! (checked it, OB)
                return triclinic_box(x,y,z)
 
class DMSReader(base.Reader):

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/TRZ.py   MDAnalysis(Download)
import MDAnalysis.core
import numpy
from MDAnalysis.coordinates.core import triclinic_box
 
class Timestep(base.Timestep):
        y = self._unitcell[3:6]
        z = self._unitcell[6:9]
        return triclinic_box(x,y,z)
 
class TRZReader(base.Reader):

src/m/d/MDAnalysisTests-0.8.1/MDAnalysisTests/test_distances.py   MDAnalysisTests(Download)
 
        self.box = MDAnalysis.coordinates.core.triclinic_vectors(self.universe.dimensions)
        self.boxV = MDAnalysis.coordinates.core.triclinic_box(self.box[0], self.box[1], self.box[2])
 
        self.S_mol1 = np.array([self.universe.atoms[383].pos])

src/m/d/MDAnalysisTests-0.8.1/MDAnalysisTests/test_coordinates.py   MDAnalysisTests(Download)
def test_triclinic_box():
    """Test coordinates.core.triclinic_box() (Issue 61)"""
    unitcell = np.array([80.017,   55,   100.11,  60.00,  30.50,  90.00])
    box = MDAnalysis.coordinates.core.triclinic_vectors(unitcell)
    new_unitcell = MDAnalysis.coordinates.core.triclinic_box(box[0],box[1],box[2])