=====  VBMEG ReleaseNote (0_8_1_a_0)

version0.8.1.a.0
CVS tagversion_0_8_1_a_0

=====  CVS info

CVSROOT
  :pserver:username@ravel:/home/cbi/rhayashi/cvs_repository/vbmeg_genesis

===== Change from ver (0.8.0.a.1)
**VB-inverse filter
*Added VB-inverse filter
-job_vbfilter.m
-job_current_feature.m

**DICOM Converter
*Added DICOM Converter into Analyze and NIfTI files
  -Analyze LAS format (for VBMEG)
  -NIfTI RAS format

convert_dicom_nifti

*GUI
-run project_mgr and chose [Tools]->[Dicom convert]

**Make subject brain model from standard brain without BrainVoyeger
*Added functions for making subject brain model from standard brain
-You need to run spatial normalization in SPM to get *_sn.mat file

job_brain_model_std2sbj    : main functions
test_std_brain    : sample script
test_check_std_brain : check for subject brain on MRI slice

-Standard brain data
ch2_std_brodmann.area.mat
ch2_std_brodmann.act.mat
ch2_std_aal.area.mat
ch2_std_aal.act.mat
ch2_std.brain.mat
ch2_std.area.mat
ch2_std.act.mat
ch2_n128.img
ch2_n128.hdr

*GUI
 run project_mgr and chose [Tools]->[Make cortical model]
 or run brain_file_maker in the MATLAB command line


**Make subject head model from brain model without Curry
*Added functions for making subject head model from brain model without Curry
-It is also possible to import head surface from Curry ver4.5
-You need to run segmentation in SPM to get gray matter image
-1-shell model for MEG (CSF)
job_head_1shell
-3-shell model for EEG (Scalp,Skull,CSF)
job_head_3shell
-test script
test_make_head

*GUI
run project_mgr and chose [Data Import]->[Import head model]->[SPM/Curry v4.5]


**Change in MEG/EEG data file 

*Unit in EEG data file
-Unit for EEG is changed from [V] to [V] when importing data
job_eeg

*Added check functions to get PhysicalUnit
bdffile_get_info

*Unit of EEG data is not changed when loading
eegfile_load_data

*Added functions to add sensor position into MEG/EEG-MAT
posfile_remake_datafile
posfile_remake_eegfile
posfile_remake_megfile

*Added functions to select channels by channel ID and Name
load_channel_info
define_const (Added 'DATA_TYPE_USER')

**Tutorial for MEG/EEG data files
Tutorial_MEG_EEG.pdf
meg_tutorial
eeg_tutorial

**Changes according to new load_meg_info function
*Returned variables in load_meg_info are changed
concat_megfile
get_multi_fileinfo
load_yokogawa_sensor
msrmnt_active_channel_is_valid
msrmnt_active_trial_is_valid
msrmnt_make_trial_data
megfile_get_sensor_position
megfile_make_trial_data
combine_meg_files
megfile_load_data

**Utility

*Save function that can save many variables by using structure variable

Ex. Load old data and save all variables changing only one variable
var_struct = load(filename);
var_struct.data = ...;
vb_save_struct (newfile, var_struct)

**Preprocessing functions

*trial and sensor rejection 
test_bad_trial(new)
test_bad_trial_stat(new)
job_bad_trial_interact(new)
job_bad_trial
job_bad_trial_stat

*filtering functions for trial data
plot_filter_response
job_filter_trial_data

resample_by_spline
filter_trial_data
plot_filter_response
filter_raw_data

*Extraction of EMG onset 

get_emg_onset
get_peak_threshold
get_emg_threshold
get_emg_onset_time
gamma_dist_prob
gamma_dist_param
gamma_dist

test_extract_trial_emg
test_emg_threshold

trigger_onset_pre
get_emg_onset_time

*existing preprocessing function for MEG data
actfile_combine_key
megfile_remove_noisysensor
megfile_remove_noisytrial
megfile_remove_offset
megfile_remove_trial
megfile_remove_trial_ext
megfile_write_pretrigger

**Cortical dipole estimation
-script for  dipole estimation
test_brain_dipole


**GUI for current estimation
-can handle trial data


**GUI for current display (job_plot_currentmap)
-When number of trial is large, it spend long time to load all data
 If you specify trial number to load, only these trials are loaded

(Old) job_plot_currentmap(currfile, brainfile)
(new) job_plot_currentmap(currfile,brainfile,trial)

**Removed files
info_get_extra_channel_info
job_preprocess_meg
