Next: void create_CNT_file(int run_number Up: PET_ANAL.C Previous: int pet_analysis_counter(int called_from_scale

int pet_analysis_done(int run_number, char password, struct pdat patient_data)

Cleans up after blood analysis. Called by analysis_pet(), pet_analysis_scale(), and pet_analysis_counter(). Calls check_patient_data(), check_sample_times(), and Create_CNT_file(). This function cleans up the user display by unloading panels, and then checks to see if patient data exists. If it does not exist, it calls check_patient_data() to try and retrieve the data from the VAX. It then checks to see if sample time data exists. If it does not exist, it calls check_sample_times() to try and retrieve the data from the VAX. Once all data has either been acquired, or it has been determined that it does not exist, it is written to the BLR file. If the data set is complete for the study, the user is asked if they want a CNT file to be created on the VAX. If so, create_CNT_file() is called.


wolforth@pet.mni.mcgill.ca