POP_DIPFIT_SETTINGS Select global settings for dipole fitting through a pop up window

Usage: >> OUTEEG = pop_dipfit_settings ( INEEG ); % pop up window
>> OUTEEG = pop_dipfit_settings ( INEEG, 'key1', 'val1', 'key2', 'val2' ... )

Inputs: INEEG input dataset

Optional inputs:
'hdmfile'   
[string] file containing a head model compatible with the Fieldtrip dipolefitting() function ("vol" entry)
'mrifile'   
[string] file containing an anatomical MR head image. The MRI must be normalized to the MNI brain. See the .mat files used by the sphere and boundary element models (For instance, select the sphere model and study 'EEG.dipfit'). If SPM2 software is installed, dipfit will be able to read most MRI file formats for plotting purposes (.mnc files, etc...). To plot dipoles in a subject MRI, first normalize the MRI to the MNI brain using SPM2.
'coordformat'   
['MNI'|'Spherical'] Coordinates returned by the selected head model. May be MNI coordinates or spherical coordinates (For spherical coordinates, the head radius is assumed to be 85 mm.
'chanfile'   
[string] template channel locations file. (This function will check whether your channel locations file is compatible with your selected head model).
'chansel'   
[int. vector] indices of channels to use for dipole fitting. {default: all} ????????????????
'coord_transform'   
[float array] Talairach transformation matrix for aligning the dataset channel locations to the selected head model.
'electrodes'   
[integer array] indices of channels to include in the dipole model. {default: all}

Outputs: OUTEEG output dataset

Author: Arnaud Delorme, SCCN, La Jolla 2003-
Robert Oostenveld, SMI/FCDC, Nijmegen 2003

See the matlab file pop_dipfit_settings.m (may require other functions)