implemented method getTimeArray in the same fashion as used in run_makeCF.py
This commit is contained in:
parent
ce8b954a8b
commit
752811c8fd
@ -92,8 +92,10 @@ class CharacteristicFunction(object):
|
|||||||
self.t2 = t2
|
self.t2 = t2
|
||||||
|
|
||||||
def getTimeArray(self):
|
def getTimeArray(self):
|
||||||
cut = self.getCut()
|
incr = self.getIncrement()
|
||||||
return np.arange(cut[0], cut[1], self.getIncrement())
|
timeArray = np.arange(0, len(self.getCF()) / incr**-1,
|
||||||
|
incr) + self.getCut()[0]
|
||||||
|
return timeArray
|
||||||
|
|
||||||
def getOrder(self):
|
def getOrder(self):
|
||||||
return self.order
|
return self.order
|
||||||
|
Loading…
Reference in New Issue
Block a user