PSPicker, a matlab tool for automatic phase picking and event location
Function made to read the main configuration file used by PSPicker
Input: file > main configuration file (type: str)
Output: Main > Structure containing all the parametesr defined in main config file (type: struct)
Example: Param=readmain(‘mainfile.txt’)