Next: SAR310P.C Up: PET_ANAL.C Previous: int pet_analysis_done(int run_number

void create_CNT_file(int run_number, char password, struct pdat patient_data)

Creates a CNT file on the VAX, and performs decay correction on the activity data. Called by pet_analysis_done(). Calls CreateRemoteFile(), WriteRemoteFile(), CloseRemoteFile(), OpenLogicalLink(), WriteLogicalLink(), and CloseLogicalLink(). The data is written to the VAX as a text file, and is then converted to a FORTRAN carriage control file using CONVERT. The files CONV_FORTRAN.COM and CONF_FORTRAN.FDL must be in the login directory of PCAM. The CNT file that is created is compatible with previous CNT files, but most fields in the header are filled with default values, and should be ignored.


wolforth@pet.mni.mcgill.ca