Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,602 changes: 3,913 additions & 689 deletions package/MDAnalysis/coordinates/dcdtimeseries.c

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package/MDAnalysis/coordinates/dcdtimeseries.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# doi:10.1002/jcc.21787
#

cimport c_numpy
c_numpy.import_array()
import numpy
cimport numpy

ctypedef int size_t

Expand Down Expand Up @@ -61,8 +61,8 @@ import numpy as np

def __read_timecorrel(object self, object atoms, object atomcounts, object format, object auxdata, int sizedata, int lowerb, int upperb, int start, int stop, int skip):
cdef dcdhandle* dcd
cdef c_numpy.ndarray atomlist, atomcountslist, auxlist
cdef c_numpy.ndarray data, temp
cdef numpy.ndarray atomlist, atomcountslist, auxlist
cdef numpy.ndarray data, temp
cdef float *tempX, *tempY, *tempZ
cdef int rc
cdef char* fmtstr
Expand Down Expand Up @@ -135,8 +135,8 @@ def __read_timecorrel(object self, object atoms, object atomcounts, object forma

def __read_timeseries(object self, object atoms, int skip):
cdef dcdhandle* dcd
cdef c_numpy.ndarray atomlist
cdef c_numpy.ndarray coord, temp
cdef numpy.ndarray atomlist
cdef numpy.ndarray coord, temp
cdef float *tempX, *tempY, *tempZ
cdef int rc

Expand Down
Loading