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

All Samples(2)  |  Call(1)  |  Derive(1)  |  Import(0)

src/m/d/MDAnalysis-0.8.1/MDAnalysis/core/AtomGroup.py   MDAnalysis(Download)
 
    coords = numpy.vstack([a.coordinates() for a in args])
    trajectory = MDAnalysis.coordinates.base.Reader()
    ts = MDAnalysis.coordinates.base.Timestep(coords)
    setattr(trajectory, "ts", ts)

src/m/d/MDAnalysis-0.8.1/MDAnalysis/coordinates/xdrfile/core.py   MDAnalysis(Download)
class TrjReader(base.Reader):
    """Generic base class for reading Gromacs trajectories inside MDAnalysis.
 
    Derive classes and set :attr:`TrjReader.format`, :attr:`TrjReader._read_trj` and :attr:`TrjReader._read_trj_atoms`.