IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2007, 5:22:18 PM (19 years ago)
Author:
Paul Price
Message:

Print mask and weight detail within a readout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAConstruct.c

    r12696 r12769  
    12701270                fprintf(fd, "row0: %d\n", readout->row0);
    12711271                psImage *image = readout->image; // The image
     1272                psImage *mask = readout->mask; // The mask
     1273                psImage *weight = readout->weight; // The weight
    12721274                psList *bias = readout->bias; // The list of bias images
    12731275                if (image) {
     
    12881290                    psFree(biasIter);
    12891291                }
     1292                if (mask) {
     1293                    INDENT(fd, 7);
     1294                    fprintf(fd, "Mask: [%d:%d,%d:%d] (%dx%d)\n", mask->col0, mask->col0 +
     1295                            mask->numCols, mask->row0, mask->row0 + mask->numRows, mask->numCols,
     1296                            mask->numRows);
     1297                }
     1298                if (weight) {
     1299                    INDENT(fd, 7);
     1300                    fprintf(fd, "Weight: [%d:%d,%d:%d] (%dx%d)\n", weight->col0, weight->col0 +
     1301                            weight->numCols, weight->row0, weight->row0 + weight->numRows, weight->numCols,
     1302                            weight->numRows);
     1303                }
    12901304            } // Iterating over cell
    12911305        } // Iterating over chip
Note: See TracChangeset for help on using the changeset viewer.