Changeset 7492
- Timestamp:
- Jun 9, 2006, 5:42:10 PM (20 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 4 edited
-
pmFPAConstruct.c (modified) (4 diffs)
-
pmFPAConstruct.h (modified) (1 diff)
-
pmHDUUtils.c (modified) (2 diffs)
-
pmHDUUtils.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.c
r7474 r7492 773 773 774 774 // Print out the focal plane structure 775 void pmFPAPrint(pmFPA *fpa, // FPA to print 775 void pmFPAPrint(FILE *fd, // File descriptor to which to print 776 pmFPA *fpa, // FPA to print 776 777 bool header, // Print headers? 777 778 bool concepts // Print concepts? … … 782 783 psTrace(__func__, 1, "FPA:\n"); 783 784 if (fpa->hdu) { 784 pmHDUPrint(f pa->hdu, 2, header);785 pmHDUPrint(fd, fpa->hdu, 2, header); 785 786 } 786 787 if (concepts) { 787 psMetadataPrint(f pa->concepts, 2);788 psMetadataPrint(fd, fpa->concepts, 2); 788 789 } 789 790 … … 794 795 pmChip *chip = chips->data[i]; // The chip 795 796 if (chip->hdu) { 796 pmHDUPrint( chip->hdu, 4, header);797 pmHDUPrint(fd, chip->hdu, 4, header); 797 798 } 798 799 if (concepts) { 799 psMetadataPrint( chip->concepts, 4);800 psMetadataPrint(fd, chip->concepts, 4); 800 801 } 801 802 … … 806 807 pmCell *cell = cells->data[j]; // The cell 807 808 if (cell->hdu) { 808 pmHDUPrint( cell->hdu, 6, header);809 pmHDUPrint(fd, cell->hdu, 6, header); 809 810 } 810 811 if (concepts) { 811 psMetadataPrint( cell->concepts, 6);812 psMetadataPrint(fd, cell->concepts, 6); 812 813 } 813 814 -
trunk/psModules/src/camera/pmFPAConstruct.h
r7017 r7492 21 21 22 22 // Print out the FPA 23 void pmFPAPrint(pmFPA *fpa, // FPA to print 23 void pmFPAPrint(FILE *fd, // File descriptor to which to print 24 pmFPA *fpa, // FPA to print 24 25 bool header, // Print headers? 25 26 bool concepts // Print concepts? -
trunk/psModules/src/camera/pmHDUUtils.c
r7459 r7492 66 66 } 67 67 68 void pmHDUPrint(const pmHDU *hdu, // HDU to print 68 void pmHDUPrint(FILE *fd, // File descriptor to which to print 69 const pmHDU *hdu, // HDU to print 69 70 int level, // Level at which to print 70 71 bool header // Print header? … … 83 84 if (hdu->header) { 84 85 psTrace(__func__, level + 1, "Header:\n"); 85 psMetadataPrint( hdu->header, level + 2);86 psMetadataPrint(fd, hdu->header, level + 2); 86 87 } else { 87 88 psTrace(__func__, level + 1, "No header.\n"); -
trunk/psModules/src/camera/pmHDUUtils.h
r7459 r7492 22 22 23 23 // Print details about an HDU 24 void pmHDUPrint(const pmHDU *hdu, // HDU to print 24 void pmHDUPrint(FILE *fd, // File descriptor to which to print 25 const pmHDU *hdu, // HDU to print 25 26 int level, // Level at which to print 26 27 bool header // Print header?
Note:
See TracChangeset
for help on using the changeset viewer.
