%   emegs2dlib table of contents:
%                                                                                                                        
%     AddFileName2Mat                  -    AddFileName2Mat                              
%     AdjustMEGSensorMat               -    AdjustMEGSensorMat                              
%     AdjustPmgCotSfp                  -    AdjustPmgCotSfp                              
%     Avg2Ascii                        -    Avg2Ascii                               
%     Avg2KNPC                         -    Avg2KNPC                               
%     AvgFileFactor2                   -    AvgFileFactor2                               
%     AvgWaveletData                   -    AvgWaveletData                               
%     BatchAnaFixModelfMEEG            -    BatchAnaFixModelfMEEG                               
%     BatchAnaModelFaceCondfMEEG       -    BatchAnaModelFaceCondfMEEG                               
%     BatchAnaModelFastPicBlockfMEEG   -    BatchAnaModelFastPicBlockfMEE                                
%     BatchAnaModelOneSamplefMEEG      -    BatchAnaModelOneSamplefMEEG                               
%     BatchAnaModelValArofMEEG         -    BatchAnaModelValArofMEEG                               
%     BatchAnaModelfMEEG               -    BatchAnaModelfMEEG                                
%     BatchAnaSmoothEEG2SPM            -    BatchAnaSmoothEEG2SPM                                
%     BatchAppTStat                    -    BatchAppTStat                                
%     BatchFixModelfMEEG               -    BatchFixModelfMEEG                                
%     BatchModelFaceCondfMEEG          -    BatchModelFaceCondfMEEG                                
%     BatchModelFastPicBlockfMEEG      -    BatchModelFastPicBlockfMEEG                                
%     BatchModelOneSamplefMEEG         -    BatchModelOneSamplefMEEG                                
%     BatchModelValArofMEEG            -    BatchModelValArofMEEG                                
%     BatchModelfMEEG                  -    BatchModelfMEEG                                
%     BatchSmoothEEG2SPM               -    BatchSmoothEEG2SPM                                
%     BatfMEEG                         -    BatfMEEG                                
%     Besa2Scads                       -    Besa2Scads                                
%     Calc2dTimeAxes                   -    Calc2dTimeAxes                               
%     CalcAppScadsTStat                -    CalcAppScadsTStat                               
%     CalcApproxCoeff                  -    CalcApproxCoeff                               
%     CalcAvgDiffDiff                  -    CalcAvgDiffDiff                               
%     CalcAvgScadsTStat                -    CalcAvgScadsTStat                               
%     CalcAvgScadsTStatOld             -    CalcAvgScadsTStatOld                               
%     CalcBaseline                     -    CalcBaseline                               
%     CalcBox                          -    CalcBox                                
%     CalcCalcSpec                     -    CalcCalcSpec                               
%     CalcCoeff                        -    CalcCoeff                               
%     CalcCortGamma                    -    CalcCortGamma                               
%     CalcCosPhiMat                    -    CalcCosPhiMat                               
%     CalcCsdCortGamma                 -    CalcCsdCortGamma                               
%     CalcCsdPGamma                    -    CalcCsdPGamma                               
%     CalcCsdScalpGamma                -    CalcCsdScalpGamma                               
%     CalcFFTMat                       -    CalcFFTMat                               
%     CalcFrequWin                     -    CalcFrequWin                               
%     CalcGainVec                      -    CalcGainVec                               
%     CalcGlobalPower                  -    CalcGlobalPower                               
%     CalcGrandMean                    -    CalcGrandMean                               
%     CalcMinMax                       -    CalcMinMax                               
%     CalcMinNorm                      -    CalcMinNorm                               
%     CalcPGamma                       -    CalcPGamma                               
%     CalcPolDir                       -    CalcPolDir                               
%     CalcPolSphere                    -    CalcPolSphere                               
%     CalcPolWeight                    -    CalcPolWeight                               
%     CalcScalpGamma                   -    CalcScalpGamma                               
%     CalcSymmetry                     -    CalcSymmetry                               
%     CalcValOfVecToMat                -    CalcValOfVecToMat                               
%     ChooseChanInd                    -    ChooseChanInd                               
%     ChooseTimeInd                    -    ChooseTimeInd                               
%     Cursor                           -    Cursor                                 
%     DefinePattern                    -    DefinePattern                               
%     DeleteFileMat                    -    DeleteFileMat                               
%     DiagProd                         -    DiagProd                               
%     DiffWaveletData                  -    DiffWaveletData                               
%     DipDensApp                       -    DipDensApp                               
%     DispEGISHeader                   -    DispEGISHeader                               
%     EE                               -    EE                                     
%     EM                               -    EM                                     
%     Eeg2Spm                          -    Eeg2Spm                                
%     Eps2Sfp                          -    Eps2Sfp                                
%     ExistCalcCoeff                   -    ExistCalcCoeff                               
%     ExistCalcPhiMat                  -    ExistCalcPhiMat                               
%     ExtEgisCells                     -    ExtEgisCells                               
%     ExtractAsciiBesa                 -    ExtractAsciiBesa                               
%     FileNameExt2Mat                  -    FileNameExt2Mat                               
%     FiltNeuroscanFiles               -    FiltNeuroscanFiles                               
%     FiltTransNeuroscanFiles          -    FiltTransNeuroscanFiles                               
%     FindKeywordInFile                -    FindKeywordInFile                               
%     FindMinNormSymDipInd             -    FindMinNormSymDipInd                               
%     FindRCrit                        -    FindRCrit                               
%     GenSoundEditFile                 -    GenSoundEditFile                               
%     GenSynthData                     -    GenSynthData                               
%     GetDefEcfgFile                   -    GetDefEcfgFile                               
%     GetFileNameOfMat                 -    GetFileNameOfMat                               
%     GetFileSize                      -    GetFileSize                               
%     GetFrequInterval                 -    GetFrequInterval                               
%     GetHighFiltCoeff                 -    GetHighFiltCoeff                               
%     GetLowFiltCoeff                  -    GetLowFiltCoeff                               
%     GrandAvgEgis                     -    GrandAvgEgis                               
%     IfEmptyInputBo                   -    IfEmptyInputBo                               
%     IfEmptyInputSpecVal              -    IfEmptyInputSpecVal                               
%     IfEmptyInputString               -    IfEmptyInputString                               
%     IfEmptyInputVal                  -    IfEmptyInputVal                               
%     IfEmptyInputValInt               -    IfEmptyInputValInt                               
%     InvertAvgFiles                   -    InvertAvgFiles                               
%     LaunchExistCalcCoeff             -    LaunchExistCalcCoeff                               
%     Main128                          -    Main128                                
%     MergeAvgFiles                    -    MergeAvgFiles                               
%     MergeEgisFiles                   -    MergeEgisFiles                               
%     MergeSesFiles                    -    MergeSesFiles                               
%     MinMaxInfo                       -    MinMaxInfo                               
%     MinNorm2Analyse                  -    MinNorm2Analyse                               
%     NeuroScan2Con                    -    NeuroScan2Con                               
%     NeuroScan2Ecg                    -    NeuroScan2Ecg                               
%     Neuroscan2Egis                   -    Neuroscan2Egis                               
%     NormCol                          -    NormCol                                
%     PCAICAMusic                      -    PCAICAMusic                               
%     PE                               -    PE                                     
%     PEA                              -    PEA                                    
%     PEB                              -    PEB                                    
%     PEE                              -    PEE                                    
%     PEN                              -    PEN                                    
%     PES                              -    PES                                    
%     PEW                              -    PEW                                    
%     PEye                             -    PEye                                   
%     PMS                              -    PMS                                    
%     PW                               -    PW                                     
%     PcaMusic                         -    PcaMusic                               
%     Plot2dPath                       -    Plot2dPath                               
%     Plot3d                           -    Plot3d                                 
%     Plot3dUserDef                    -    Plot3dUserDef                               
%     PlotECPositions                  -    PlotECPositions                               
%     PlotSingleFrequVec               -    PlotSingleFrequVec                               
%     PlotSingleTimeVec                -    PlotSingleTimeVec                               
%     PlotSurfNew                      -    PlotSurfNew                               
%     PrintFilePath                    -    PrintFilePath                               
%     PutFileExt2Mat                   -    PutFileExt2Mat                               
%     ReadAppData                      -    ReadAppData                               
%     ReadAscii                        -    ReadAscii                               
%     ReadAsciiBesa                    -    ReadAsciiBesa                               
%     ReadAvgFile                      -    ReadAvgFile                               
%     ReadBatchFileNames               -    ReadBatchFileNames                               
%     ReadBatchText                    -    ReadBatchText                               
%     ReadBem                          -    ReadBem                                
%     ReadData                         -    ReadData                               
%     ReadECfgStatus                   -    ReadECfgStatus                               
%     ReadEConfig                      -    ReadEConfig                               
%     ReadEGISAvgFile                  -    ReadEGISAvgFile                               
%     ReadEGISHeader                   -    ReadEGISHeader                               
%     ReadEStatus                      -    ReadEStatus                               
%     ReadFileNames                    -    ReadFileNames                               
%     ReadFilePath                     -    ReadFilePath                               
%     ReadKNAvgFile                    -    ReadKNAvgFile                               
%     ReadKNEConfigFile                -    ReadKNEConfigFile                               
%     ReadKNPolFile                    -    ReadKNPolFile                               
%     ReadMSI                          -    ReadMSI                                
%     ReadMsiSet                       -    ReadMsiSet                               
%     ReadNDimData                     -    ReadNDimData                               
%     ReadNetHeader                    -    ReadNetHeader                               
%     ReadNeuroscanStruct              -    ReadNeuroscanStruct                               
%     ReadNeuroscanTrial               -    ReadNeuroscanTrial                               
%     ReadOrCalcCoeff                  -    ReadOrCalcCoeff                               
%     ReadOrCalcPCoeff                 -    ReadOrCalcPCoeff                               
%     ReadOrcCalcCoeff                 -    ReadOrcCalcCoeff                               
%     ReadPlot2dDefFontSizeVec         -    ReadPlot2dDefFontSizeVec                               
%     ReadPmgCotSfpFiles               -    ReadPmgCotSfpFiles                               
%     ReadRAWHeader                    -    ReadRAWHeader                               
%     ReadRepCon                       -    ReadRepCon                               
%     ReadSanDiegoPolFile              -    ReadSanDiegoPolFile                               
%     ReadSfpFile                      -    ReadSfpFile                               
%     ReadTAWChan                      -    ReadTAWChan                               
%     ReadTriData                      -    ReadTriData                               
%     ReadVPM                          -    ReadVPM                                
%     ReadViewDef                      -    ReadViewDef                               
%     ReadWaveletData                  -    ReadWaveletData                               
%     ReformatCotFiles                 -    ReformatCotFiles                               
%     ReformatStatText                 -    ReformatStatText                               
%     RepCon                           -    RepCon                                 
%     RotPmgFiles                      -    RotPmgFiles                               
%     Save2Bem                         -    Save2Bem                               
%     Save2Jmp                         -    Save2Jmp                               
%     Save2KNPC                        -    Save2KNPC                               
%     SaveAppData                      -    SaveAppData                               
%     SaveAscii                        -    SaveAscii                               
%     SaveAsciiBesa                    -    SaveAsciiBesa                               
%     SaveAvgEGISFile                  -    SaveAvgEGISFile                               
%     SaveAvgFile                      -    SaveAvgFile                               
%     SaveData                         -    SaveData                               
%     SaveEConfig                      -    SaveEConfig                               
%     SaveEGISAvgFile                  -    SaveEGISAvgFile                               
%     SaveEStatus                      -    SaveEStatus                               
%     SaveMEGConfig                    -    SaveMEGConfig                               
%     SaveNDimData                     -    SaveNDimData                               
%     SaveNDimDataToRMAnova            -    SaveNDimDataToRMAnova                               
%     SaveWaveletData                  -    SaveWaveletData                               
%     Scads2Besa                       -    Scads2Besa                               
%     SepFilePath                      -    SepFilePath                               
%     SetDefPath                       -    SetDefPath                               
%     SetENames                        -    SetENames                               
%     SmoothEEG2SPM                    -    SmoothEEG2SPM                               
%     SpatFilt                         -    SpatFilt                               
%     Sphere4DipPot                    -    Sphere4DipPot                               
%     StartPath                        -    StartPath                               
%     String2Value                     -    String2Value                               
%     SurfPmgCotSfp                    -    SurfPmgCotSfp                               
%     SwitchGrandBatch                 -    SwitchGrandBatch                               
%     SwitchSensorsInAvgFiles          -    SwitchSensorsInAvgFiles                               
%     System1010                       -    System1010                               
%     System1020                       -    System1020                               
%     TestFileMatWrite                 -    TestFileMatWrite                               
%     TransCntTnt                      -    TransCntTnt                               
%     TransSfpPos                      -    TransSfpPos                               
%     WaitBat                          -    WaitBat                                
%     WaveApp                          -    WaveApp                                
%     WriteBatchText                   -    WriteBatchText                               
%     WriteEGISHeader                  -    WriteEGISHeader                               
%     WriteFileMat2EGIS                -    WriteFileMat2EGIS                               
%     WriteFilePath                    -    WriteFilePath                               
%     WriteMat2App                     -    WriteMat2App                               
%     WriteMat2EGIS                    -    WriteMat2EGIS                               
%     WriteNetHeader                   -    WriteNetHeader                               
%     WriteNeuroscanStruct             -    WriteNeuroscanStruct                               
%     XRotation                        -    XRotation                               
%     YRotation                        -    YRotation                               
%     ZRotation                        -    ZRotation                               
%     bslcorrWAMat                     -    bslcorrWAMat                               
%     calc_axes                        -    calc_axes                               
%     calc_course_caxis                -    calc_course_caxis                               
%     calc_fig_axes_cou                -    calc_fig_axes_cou                               
%     calc_fig_axes_mov                -    calc_fig_axes_mov                               
%     calc_legendre                    -    calc_legendre                               
%     calc_movie_caxis                 -    calc_movie_caxis                               
%     calc_nway_interaction            -    calc_nway_interaction                               
%     calc_pol_med                     -    calc_pol_med                               
%     calc_pol_no_base                 -    calc_pol_no_base                               
%     calc_rm_anova                    -    calc_rm_anova                               
%     calc_rm_anova_fast               -    calc_rm_anova_fast                               
%     calc_view_course                 -    calc_view_course                               
%     calc_view_movie                  -    calc_view_movie                               
%     change_n3_nn                     -    change_n3_nn                               
%     change_n_sqrt_n                  -    change_n_sqrt_n                               
%     change_nn_n3                     -    change_nn_n3                               
%     change_sphere_cart               -    change_sphere_cart                               
%     compute_lfdmat                   -    compute_lfdmat                               
%     customcontour                    -    customcontour                               
%     dist3d                           -    dist3d                                 
%     emegs2dopenchan                  -    emegs2dopenchan                               
%     emegs2dopenmenu                  -    emegs2dopenmenu                               
%     emegs3d                          -    emegs3d                                
%     emegs3dopenmenu                  -    emegs3dopenmenu                               
%     findchanneighbours               -    findchanneighbours                               
%     get_nsmp                         -    get_nsmp                               
%     infdlg                           -    infdlg                                 
%     inv_recon                        -    inv_recon                               
%     invmap_reduce_find_regpar        -    invmap_reduce_find_regpar                               
%     lf1                              -    lf1                                    
%     lf34capr                         -    lf34capr                               
%     model_ear                        -    model_ear                               
%     model_nose                       -    model_nose                               
%     norm_1                           -    norm_1                                 
%     norm_col                         -    norm_col                               
%     pinv_tikh                        -    pinv_tikh                               
%     plot2dopenchan                   -    plot2dopenchan                               
%     plot2dopenmenu                   -    plot2dopenmenu                               
%     plot3dbrain                      -    plot3dbrain                               
%     plot_EC_positions                -    plot_EC_positions                               
%     plot_head_contour                -    plot_head_contour                               
%     plotbrainsensors3d               -    plotbrainsensors3d                               
%     plotsensors3d                    -    plotsensors3d                               
%     read_hist_data                   -    read_hist_data                               
%     read_hist_header                 -    read_hist_header                               
%     reduceeconfig                    -    reduceeconfig                               
%     regularisation_curve             -    regularisation_curve                               
%     repeatcon                        -    repeatcon                               
%     res_var                          -    res_var                                
%     rmanova                          -    rmanova                                
%     runica2                          -    runica2                                
%     setdefecfgfile                   -    setdefecfgfile                               
%     sphere_meg                       -    sphere_meg                               
%     surfcdata2contourpic             -    surfcdata2contourpic                               
%     t2z                              -    t2z                                    
%     title_string_func                -    title_string_func                               
%     uirmanova                        -    uirmanova                               
%     when_changes_radius              -    when_changes_radius                               
