Millepede-II V04-17-04
|
Functions | |
def | unpack (typechar, number=1) |
Variables | |
parser | |
choices | |
default | |
help | |
type | |
int | |
action | |
arg = parser.parse_args() | |
int | Cfiles = -1 |
int | CFiles = 1 |
f = open(arg.filename, "rb") | |
header_words = struct.unpack('ii', f.read(8)) | |
int | nrec = 0 |
int | nr = 0 |
def | lenf = struct.unpack('i', f.read(4)) |
def | length = unpack('i') |
string | floattype = 'f' |
def | glder = unpack(floattype, nr) |
def | inder = unpack('i', nr) |
int | i = 0 |
int | nh = 0 |
int | ja = 0 |
int | jb = 0 |
int | jsp = 0 |
int | nsp = 0 |
list | lab = [] |
list | val = [] |
def readMilleBinary.unpack | ( | typechar, | |
number = 1 |
|||
) |
unpack a certain number of the input type We read from the file stored in the variable `f`. Raises ------ EOFError if there is no data returned when the read is done ValueError if data is returned but the length does not match the amount of data requested Arguments --------- typechar : str single-character name of type to unpack: 'i', 'f', or 'd' number : int, optional number of that type to unpack, default one Returns ------- array of input length and type, filled with data unpacked from file
Definition at line 136 of file readMilleBinary.py.
readMilleBinary.action |
Definition at line 109 of file readMilleBinary.py.
readMilleBinary.arg = parser.parse_args() |
Definition at line 112 of file readMilleBinary.py.
int readMilleBinary.Cfiles = -1 |
Definition at line 117 of file readMilleBinary.py.
int readMilleBinary.CFiles = 1 |
Definition at line 119 of file readMilleBinary.py.
readMilleBinary.choices |
Definition at line 100 of file readMilleBinary.py.
readMilleBinary.default |
Definition at line 100 of file readMilleBinary.py.
readMilleBinary.f = open(arg.filename, "rb") |
Definition at line 124 of file readMilleBinary.py.
string readMilleBinary.floattype = 'f' |
Definition at line 201 of file readMilleBinary.py.
Definition at line 206 of file readMilleBinary.py.
readMilleBinary.header_words = struct.unpack('ii', f.read(8)) |
Definition at line 125 of file readMilleBinary.py.
readMilleBinary.help |
Definition at line 101 of file readMilleBinary.py.
int readMilleBinary.i = 0 |
Definition at line 224 of file readMilleBinary.py.
Referenced by Mille.end(), initc(), Mille.mille(), openc(), ReadPedeHists.readBasicVector(), readc(), ReadPedeHists.readNextGraph(), and Mille.special().
Definition at line 207 of file readMilleBinary.py.
readMilleBinary.int |
Definition at line 103 of file readMilleBinary.py.
Referenced by tinypede.Pede.addConstraints(), compareResults.combineFiles(), tinypede.Pede.construct(), tinypede.MilleRecord.moreData(), and tinypede.MilleRecord.specialDataTag().
int readMilleBinary.ja = 0 |
Definition at line 226 of file readMilleBinary.py.
int readMilleBinary.jb = 0 |
Definition at line 227 of file readMilleBinary.py.
int readMilleBinary.jsp = 0 |
Definition at line 228 of file readMilleBinary.py.
list readMilleBinary.lab = [] |
Definition at line 255 of file readMilleBinary.py.
def readMilleBinary.lenf = struct.unpack('i', f.read(4)) |
Definition at line 185 of file readMilleBinary.py.
Definition at line 188 of file readMilleBinary.py.
int readMilleBinary.nh = 0 |
Definition at line 225 of file readMilleBinary.py.
readMilleBinary.nr = 0 |
Definition at line 183 of file readMilleBinary.py.
int readMilleBinary.nrec = 0 |
Definition at line 179 of file readMilleBinary.py.
readMilleBinary.nsp = 0 |
Definition at line 229 of file readMilleBinary.py.
readMilleBinary.parser |
Definition at line 96 of file readMilleBinary.py.
readMilleBinary.type |
Definition at line 103 of file readMilleBinary.py.
Referenced by ReadPedeHists.readNext(), ReadPedeHists.readNextGraph(), ReadPedeHists.readNextHist(), and ReadPedeHists.readNumVersTypeTitle().
list readMilleBinary.val = [] |
Definition at line 256 of file readMilleBinary.py.