G49.45-

This is how i was able to merge 3 fields together to create a single big field. CFV

Modifying class files
The fields i merge together were G49.4-, G49.5-, G49.75-
 * G49.4- and G49.5- were reduced by me and G49.75- by Bill

So first i collected all the "good" and "ok" beams from all the above fields on a single folder and called it. G49.45-
 * I renamed the files so they can have common names


 * G49.4- files were rename to G49.45-_split##AP.smt
 * G49.5- files were rename to G49.45-_split##BP.smt
 * G49.75-  files were rename to G49.45-_split##CP.smt


 * This naming system is so i can easily identify from which field it belongs and so i can easily use the macro CombGrid to create datacubes. Note: The P is neccesary so this names can work with CombGrid.

Before we can use CombGrid, we need to make the center and source name of each file to be the same. For that we are going to use a for loop to change it for each file.

I made a .class file to change the center and source and it is the following. Just use emacs and write it as NAME.class. 'note you still need to change the prefix and suffix to represent your field every time. '

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

modify_cfv.class
 * define character prefix*100
 * define character name*100
 * define character output*100
 * define character suffix*100
 * prefix = "g49.4-"
 * output = "G49.45-_split"
 * suffix = "A"
 * for i 11 to 88 by 1
 * name = 'prefixi"P.smt"                ! it is 'prefix'   'i'   "P.smt" 'without spaces
 * if file(name)
 * file out 'outputi'suffix'"P.smt" multiple       !'output'  'i'  'suffix'  "P.smt"


 * ! I added the P to indicate that it has been modify to the new center and source name. The P is also needed so that it can work with CombGrid since it will search for a P.smt file. 
 * file in 'name'
 * find
 * for j 1 to found
 * get idx%num[j]
 * modify source G49.45-
 * modify position 49.45 -0.50
 * write number
 * next
 * end if
 * next

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Use combGrid/Greg to make MOM 0
then i just created an rclist containing the beams i want to use in CombGrid and it should work prefectly
 * example Rc_list.txt


 * 49.45-_44A
 * 49.45-_22B
 * 49.45-_12C


 * Unfortunatly you can only use 14 beams at a time, so i had to create 5 rclist_ABC_#.txt
 * CombGrid G try1 rclist_ABC_1.txt 


 * I then had to run CombGrid 4 more times to get all the beams inside try1.


 * CombGrid G try1 rclist_ABC_#.txt "10" "try1.tab"
 * It actually took like 20 mins in total but i finnally got all 55beams inside


 * =====I ran greg and here is the result====