now read the integrals, reformat them into csv format and write them out to integrals.csv Get the 5 file header lines (ignoring them in this case) (void)sprintf(path,"%s/data/%s/nmr/%s/%d/pdata/%d/integrals.csv",disk,user,name,expno,procno) Integral values and/or regions can be exported in a humanreadable ASCII. Proc_err(DEF_ERR_OPT,"integral not found") A log file (GNATlog.txt in the current working directory) keeps a running copy. (void)sprintf(path,"%s/data/%s/nmr/%s/%d/pdata/%d/integrals.txt",disk,user,name,expno,procno) The following code is maybe more what you need (you will end up with a csv file called "integrals.csv" in your proc directory: int i, iIndex Ĭhar h1,h2,h3,h4,h5 If that suits you, fine.otherwise read on. It pains me to see you have to resort to mouse clicks.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |