from calcephpy import *

peph = CalcephBin.open("example1.dat")
n = peph.getpositionrecordcount()
for j in range(1, n+1):
    itarget, icenter, firsttime, lasttime, iframe = peph.getpositionrecordindex(j)
    print(itarget, icenter, firsttime, lasttime, iframe)

peph.close()