Added IREC header entry for use with Bio-formats library

This commit is contained in:
Andrew Murray 2022-01-12 17:29:25 +11:00
parent ba86d90a00
commit a9441a475d

View File

@ -249,6 +249,7 @@ def makeSpiderHeader(im):
# NB these are Fortran indices
hdr[1] = 1.0 # nslice (=1 for an image)
hdr[2] = float(nrow) # number of rows per slice
hdr[3] = float(nrow) # number of records in the image
hdr[5] = 1.0 # iform for 2D image
hdr[12] = float(nsam) # number of pixels per line
hdr[13] = float(labrec) # number of records in file header