changeset 33:161913b595ae

improved profiling
author Ray Meddis <rmeddis@essex.ac.uk>
date Thu, 11 Aug 2011 16:52:25 +0100
parents 82fb37eb430e
children e097e9044ef6
files gitCommands.txt multithreshold 1.46/MTprofile.m multithreshold 1.46/expGUI_MT.m multithreshold 1.46/hs_err_pid6084.log multithreshold 1.46/hs_err_pid6852.log multithreshold 1.46/paradigms/paradigm_TMC.m multithreshold 1.46/plotProfile.m multithreshold 1.46/printReport.m multithreshold 1.46/profile.mat multithreshold 1.46/profile2mFile.m multithreshold 1.46/savedData/10-Aug-2011 15_31_21.mat multithreshold 1.46/savedData/10-Aug-2011 15_33_58.mat multithreshold 1.46/savedData/11-Aug-2011 10_53_52.mat multithreshold 1.46/savedData/11-Aug-2011 10_55_36.mat multithreshold 1.46/savedData/11-Aug-2011 15_51_34.mat multithreshold 1.46/savedData/11-Aug-2011 15_54_08.mat multithreshold 1.46/savedData/11-Aug-2011 15_57_29.mat multithreshold 1.46/savedData/11-Aug-2011 16_14_22.mat multithreshold 1.46/savedData/11-Aug-2011 16_26_04.mat multithreshold 1.46/savedData/11-Aug-2011 16_47_28.mat multithreshold 1.46/savedData/11-Aug-2011 16_48_53.mat multithreshold 1.46/savedData/11-Aug-2011 16_49_46.mat multithreshold 1.46/savedData/11-Aug-2011 16_50_10.mat multithreshold 1.46/savedData/11-Aug-2011 16_50_37.mat multithreshold 1.46/savedData/21-Jul-2011 10_50_52.mat multithreshold 1.46/savedData/21-Jul-2011 10_55_11.mat multithreshold 1.46/savedData/21-Jul-2011 11_33_40.mat multithreshold 1.46/savedData/22-Jul-2011 09_33_53.mat multithreshold 1.46/savedData/22-Jul-2011 09_37_07.mat multithreshold 1.46/savedData/22-Jul-2011 09_43_16.mat multithreshold 1.46/savedData/22-Jul-2011 09_57_25.mat multithreshold 1.46/savedData/22-Jul-2011 10_03_04.mat multithreshold 1.46/savedData/22-Jul-2011 10_18_01.mat multithreshold 1.46/savedData/mostRecentResults.mat multithreshold 1.46/savedData/nemo_22-Jul-2011 08_37_20_training.mat multithreshold 1.46/savedData/profile10_53hr11_Aug_2011.mat multithreshold 1.46/savedData/profile10_55hr11_Aug_2011.mat multithreshold 1.46/subjGUI_MT.m profiles/profile_CMA_L.m profiles/profile_JE_L.m profiles/profile_JSAN_R.m testPrograms/testAN.m testPrograms/testBM.m testPrograms/testFM.m testPrograms/test_MAP1_14.m utilities/Util_timeStamp.m
diffstat 46 files changed, 322 insertions(+), 690 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gitCommands.txt	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,3 @@
+git add -A
+git commit -m 'description'
+git push 15 Old Ferry
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/multithreshold 1.46/MTprofile.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,24 @@
+function x = MTprofile
+x.BFs = [250   500  1000  2000  4000  8000];
+x.LongTone = [22      17.4      15.7      15.1      20.1        26];
+x.ShortTone = [25.3      22.5      18.4      19.2      25.8      31.8];
+x.Gaps = [0.01      0.03      0.05      0.07      0.09];
+x.TMCFreq = [250   500  1000  2000  4000  8000];
+x.TMC = [	36.8	38.9	36	37.8	48.8	45.5	 
+44	43.6	38.3	42	52.1	48	 
+49.5	51.3	49.8	50.2	62.7	53.3	 
+54	54.4	52	73.1	68.1	51.8	 
+61	71.4	56.9	73.3	72.4	57.3	 
+];
+x.TMC = x.TMC';
+x.MaskerRatio = [0.5      0.7      0.9        1      1.1      1.3      1.6];
+x.IFMCFreq = [250   500  1000  2000  4000  8000];
+x.IFMCs = [	60.7	75.2	79.7	75.3	75.5	84.2	 
+49.2	64.1	69.6	75.9	82.2	88.1	 
+37.5	41.7	35.8	50.5	54.2	49.5	 
+37.6	38.4	37.9	37.1	53.2	45.2	 
+39.1	36.2	37.1	47.4	42.9	47.5	 
+40	39.4	55.5	84.7	61.7	87.6	 
+53.1	82.7	83.6	89.9	98.5	101	 
+];
+x.IFMCs = x.IFMCs';
--- a/multithreshold 1.46/expGUI_MT.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/multithreshold 1.46/expGUI_MT.m	Thu Aug 11 16:52:25 2011 +0100
@@ -618,14 +618,12 @@
 switch experiment.paradigm
     case 'profile'
         %% special option for two successive and linked measurements
-        clc
         experiment.paradigm='threshold_16ms';
         set(handles.edittargetDuration,'string', num2str(0.25))
         set(handles.editstopCriteriaBox,'string','10') % nTrials
         run (handles)
 
-        if strcmp(errormsg,'manually stopped')
-            disp(errormsg)
+        if experiment.stop
             optionNo=strmatch('profile',paradigmNames);
             set(handles.popupmenuParadigm,'value',optionNo);
             experiment.paradigm='profile';
@@ -639,7 +637,7 @@
         set(handles.edittargetDuration,'string', num2str(0.016))
         set(handles.editstopCriteriaBox,'string','20') % nTrials
         run (handles)
-        if strcmp(errormsg,'manually stopped')
+        if experiment.stop
             disp(errormsg)
             optionNo=strmatch('profile',paradigmNames);
             set(handles.popupmenuParadigm,'value',optionNo);
@@ -657,11 +655,11 @@
         set(handles.popupmenuParadigm,'value',optionNo);
         aParadigmSelection(handles)
         set(handles.edittargetLevel,'string', thresholds16ms+10);
-        set(handles.editstopCriteriaBox,'string','10')  % nTrials
+        set(handles.editstopCriteriaBox,'string','20')  % nTrials
         pause(.1)
         run (handles)
 
-        if strcmp(errormsg,'manually stopped')
+        if experiment.stop
             disp(errormsg)
             optionNo=strmatch('profile',paradigmNames);
             set(handles.popupmenuParadigm,'value',optionNo);
@@ -692,10 +690,15 @@
         optionNo=strmatch('profile',paradigmNames);
         set(handles.popupmenuParadigm,'value',optionNo);
         aParadigmSelection(handles)
+        
+%% save data and plot profile
 
-        save profile longTone shortTone gaps BFs TMC offBFs IFMCs
-        plotProfile(longTone,shortTone,gaps,BFs,TMC,offBFs,IFMCs)
+%         save profile longTone shortTone gaps BFs TMC offBFs IFMCs
+profile2mFile(longTone, shortTone, gaps, BFs, TMC, offBFs, IFMCs,...
+    'MTprofile')
+plotProfile('MTprofile', 'profile_CMA_L')
 
+%% xx
         if strcmp(errormsg,'manually stopped')
             disp(errormsg)
             optionNo=strmatch('profile',paradigmNames);
@@ -1413,6 +1416,7 @@
 global  stimulusParameters experiment paramChanges
 aReadAndCheckParameterBoxes(handles);
 relativeFrequencies=[0.25    .5   .75  1  1.25 1.5    2];
+relativeFrequencies=[ 1 ];
 AN_spikesOrProbability='probability';
 testBM(stimulusParameters.targetFrequency, ...
     experiment.name,relativeFrequencies, AN_spikesOrProbability, ...
--- a/multithreshold 1.46/hs_err_pid6084.log	Wed Aug 10 15:39:05 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,258 +0,0 @@
-#
-# An unexpected error has been detected by Java Runtime Environment:
-#
-#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000002e47250, pid=6084, tid=5820
-#
-# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
-# Problematic frame:
-# C  [libmwgui.dll+0x77250]
-#
-# If you would like to submit a bug report, please visit:
-#   http://java.sun.com/webapps/bugreport/crash.jsp
-#
-
----------------  T H R E A D  ---------------
-
-Current thread (0x0000000003d2fc00):  JavaThread "main" [_thread_in_native, id=5820]
-
-siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
-
-Registers:
-EAX=0x0000000000000000, EBX=0x0000000000000000, ECX=0x0000000000000000, EDX=0x0000000000000000
-ESP=0x00000000010296f8, EBP=0x0000000000000001, ESI=0x0000000000000000, EDI=0x0000000000000000
-EIP=0x0000000002e47250, EFLAGS=0x0000000000010206
-
-Top of Stack: (sp=0x00000000010296f8)
-0x00000000010296f8:   0000000002fb728f 4010002000000000
-0x0000000001029708:   0000000000000000 0000000035937370
-0x0000000001029718:   0000000002e596dd 0000000008a3cf00
-0x0000000001029728:   0000000002f7fb49 4010000000000000
-0x0000000001029738:   4008000000000000 0000000000000000
-0x0000000001029748:   0000000000000000 0000000008a3cf60
-0x0000000001029758:   0000000002fb72be 0000000008a3cf00
-0x0000000001029768:   0000000000000001 4010000000000000
-0x0000000001029778:   0000000000000000 0000000000000000
-0x0000000001029788:   0000000002f8d1de 0000000000000000
-0x0000000001029798:   0000000008a3cf60 0000000000000001
-0x00000000010297a8:   000000001176d320 0000000009e522a0
-0x00000000010297b8:   000000000319bd9e 0000000008a3cf60
-0x00000000010297c8:   0000000000000020 0000000000000002
-0x00000000010297d8:   00000000013b7338 0000000008a3cf50
-0x00000000010297e8:   00000000359f17a0 000000003c19ca80 
-
-Instructions: (pc=0x0000000002e47250)
-0x0000000002e47240:   89 11 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc
-0x0000000002e47250:   8b 01 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 
-
-
-Stack: [0x0000000000030000,0x0000000001030000),  sp=0x00000000010296f8,  free space=16357k
-Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
-C  [libmwgui.dll+0x77250]
-
-Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
-j  com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Ljava/lang/Object;)Ljava/lang/Object;+0
-j  com.mathworks.jmi.NativeMatlab.sendMatlabMessage(Ljava/lang/Object;)Ljava/lang/Object;+22
-j  com.mathworks.jmi.MatlabLooper.sendMatlabMessage(Lcom/mathworks/services/message/MWMessage;)Ljava/lang/Object;+20
-j  com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Ljava/lang/String;[Ljava/lang/Object;I)Ljava/lang/Object;+58
-j  com.mathworks.mde.desk.MLDesktop$5.run()V+14
-j  com.mathworks.jmi.NativeMatlab.dispatchMTRequests(Z)V+50
-v  ~StubRoutines::call_stub
-
----------------  P R O C E S S  ---------------
-
-Java Threads: ( => current thread )
-  0x0000000011b68400 JavaThread "Thread-168" [_thread_blocked, id=3544]
-  0x0000000011b68c00 JavaThread "Prefs Updater" [_thread_blocked, id=6864]
-  0x0000000011b67000 JavaThread "Thread-8" [_thread_blocked, id=6900]
-  0x0000000011b66800 JavaThread "Thread-7" [_thread_blocked, id=6792]
-  0x0000000011b66000 JavaThread "Thread-6" [_thread_blocked, id=868]
-  0x0000000011b65800 JavaThread "Thread-5" [_thread_blocked, id=6628]
-  0x0000000030e0a000 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=1428]
-  0x0000000011b97800 JavaThread "Timer-2" daemon [_thread_blocked, id=3276]
-  0x0000000030ded400 JavaThread "Timer-1" daemon [_thread_blocked, id=6912]
-  0x0000000011a81000 JavaThread "TimerQueue" daemon [_thread_blocked, id=5220]
-  0x00000000117fd400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=120]
-  0x00000000114dec00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3212]
-  0x00000000114de400 JavaThread "AWT-Shutdown" [_thread_blocked, id=6512]
-  0x00000000114ddc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4896]
-  0x0000000011244c00 JavaThread "Timer-0" [_thread_blocked, id=3172]
-  0x000000000fb42400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2312]
-  0x000000000fb40000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3556]
-  0x000000000fb3b800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2260]
-  0x000000000fb37400 JavaThread "Attach Listener" daemon [_thread_blocked, id=6760]
-  0x000000000fb1f400 JavaThread "Finalizer" daemon [_thread_blocked, id=5488]
-  0x000000000fb19800 JavaThread "Reference Handler" daemon [_thread_blocked, id=6300]
-=>0x0000000003d2fc00 JavaThread "main" [_thread_in_native, id=5820]
-
-Other Threads:
-  0x000000000fb16000 VMThread [id=7068]
-  0x000000000fb47800 WatcherThread [id=4288]
-
-VM state:not at safepoint (normal execution)
-
-VM Mutex/Monitor currently owned by a thread: None
-
-Heap
- PSYoungGen      total 7104K, used 6681K [0x00000000265a0000, 0x0000000026d80000, 0x00000000296a0000)
-  eden space 6400K, 97% used [0x00000000265a0000,0x0000000026bb6710,0x0000000026be0000)
-  from space 704K, 63% used [0x0000000026cd0000,0x0000000026d40000,0x0000000026d80000)
-  to   space 832K, 0% used [0x0000000026be0000,0x0000000026be0000,0x0000000026cb0000)
- PSOldGen        total 47616K, used 41927K [0x000000001d2a0000, 0x0000000020120000, 0x00000000265a0000)
-  object space 47616K, 88% used [0x000000001d2a0000,0x000000001fb91f18,0x0000000020120000)
- PSPermGen       total 80384K, used 43275K [0x00000000152a0000, 0x000000001a120000, 0x000000001d2a0000)
-  object space 80384K, 53% used [0x00000000152a0000,0x0000000017ce2c78,0x000000001a120000)
-
-Dynamic libraries:
-0x0000000140000000 - 0x0000000140138000 	C:\Program Files\MATLAB\R2008a\bin\win64\MATLAB.exe
-0x0000000077420000 - 0x00000000775c9000 	C:\Windows\SYSTEM32\ntdll.dll
-0x0000000077300000 - 0x000000007741f000 	C:\Windows\system32\kernel32.dll
-0x000007fefd440000 - 0x000007fefd4ab000 	C:\Windows\system32\KERNELBASE.dll
-0x0000000180000000 - 0x0000000180401000 	C:\Program Files\MATLAB\R2008a\bin\win64\libut.dll
-0x000007fefee00000 - 0x000007fefee17000 	C:\Windows\system32\imagehlp.dll
-0x000007fefd7c0000 - 0x000007fefd85f000 	C:\Windows\system32\msvcrt.dll
-0x00000000775f0000 - 0x00000000775f7000 	C:\Windows\system32\PSAPI.DLL
-0x00000000011e0000 - 0x0000000001208000 	C:\Program Files\MATLAB\R2008a\bin\win64\LIBEXPAT.dll
-0x0000000073a30000 - 0x0000000073af9000 	C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_88e45feb2faab9ce\MSVCR80.dll
-0x000000004a800000 - 0x000000004a917000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuuc36.dll
-0x000007fefea70000 - 0x000007fefeb4b000 	C:\Windows\system32\ADVAPI32.dll
-0x000007feff180000 - 0x000007feff19f000 	C:\Windows\SYSTEM32\sechost.dll
-0x000007feff2d0000 - 0x000007feff3fd000 	C:\Windows\system32\RPCRT4.dll
-0x0000000001220000 - 0x0000000001223000 	C:\Program Files\MATLAB\R2008a\bin\win64\icudt36.dll
-0x000000004ab00000 - 0x000000004ab0f000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuio36.dll
-0x0000000001250000 - 0x0000000001356000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuin36.dll
-0x0000000072330000 - 0x0000000072439000 	C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_88e45feb2faab9ce\MSVCP80.dll
-0x0000000077200000 - 0x00000000772fa000 	C:\Windows\system32\USER32.dll
-0x000007fefd750000 - 0x000007fefd7b7000 	C:\Windows\system32\GDI32.dll
-0x000007fefea60000 - 0x000007fefea6e000 	C:\Windows\system32\LPK.dll
-0x000007feff030000 - 0x000007feff0f9000 	C:\Windows\system32\USP10.dll
-0x0000000001370000 - 0x00000000014e4000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwservices.dll
-0x0000000001500000 - 0x0000000001570000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmx.dll
-0x0000000001580000 - 0x0000000001597000 	C:\Program Files\MATLAB\R2008a\bin\win64\zlib1.dll
-0x00000000015a0000 - 0x0000000001648000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwmathutil.dll
-0x0000000001660000 - 0x00000000016b5000 	C:\Program Files\MATLAB\R2008a\bin\win64\mpath.dll
-0x00000000016d0000 - 0x00000000016f1000 	C:\Program Files\MATLAB\R2008a\bin\win64\mlutil.dll
-0x000007fef9870000 - 0x000007fef9910000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\COMCTL32.dll
-0x000007fefec90000 - 0x000007fefed27000 	C:\Windows\system32\comdlg32.dll
-0x000007fefed80000 - 0x000007fefedf1000 	C:\Windows\system32\SHLWAPI.dll
-0x000007fefd970000 - 0x000007fefe6f8000 	C:\Windows\system32\SHELL32.dll
-0x000007fefc840000 - 0x000007fefc856000 	C:\Windows\system32\NETAPI32.dll
-0x000007fefc830000 - 0x000007fefc83c000 	C:\Windows\system32\netutils.dll
-0x000007fefcee0000 - 0x000007fefcf03000 	C:\Windows\system32\srvcli.dll
-0x000007fefc810000 - 0x000007fefc825000 	C:\Windows\system32\wkscli.dll
-0x000007fefed30000 - 0x000007fefed7d000 	C:\Windows\system32\WS2_32.dll
-0x000007fefd740000 - 0x000007fefd748000 	C:\Windows\system32\NSI.dll
-0x0000000001710000 - 0x0000000001765000 	C:\Program Files\MATLAB\R2008a\bin\win64\mcr.dll
-0x0000000001780000 - 0x00000000017a5000 	C:\Program Files\MATLAB\R2008a\bin\win64\iqm.dll
-0x00000000017c0000 - 0x00000000017e1000 	C:\Program Files\MATLAB\R2008a\bin\win64\bridge.dll
-0x0000000001800000 - 0x0000000001811000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmex.dll
-0x0000000001830000 - 0x00000000018bc000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_dispatcher.dll
-0x00000000018d0000 - 0x00000000018f5000 	C:\Program Files\MATLAB\R2008a\bin\win64\datasvcs.dll
-0x0000000012000000 - 0x0000000012295000 	C:\Program Files\MATLAB\R2008a\bin\win64\xerces-c_2_7.dll
-0x0000000001920000 - 0x00000000021b1000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_interpreter.dll
-0x00000000021d0000 - 0x0000000002201000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmat.dll
-0x0000000002220000 - 0x0000000002325000 	C:\Program Files\MATLAB\R2008a\bin\win64\libhdf5.dll
-0x0000000002330000 - 0x000000000239f000 	C:\Program Files\MATLAB\R2008a\bin\win64\profiler.dll
-0x00000000023b0000 - 0x00000000023ba000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwmathrng.dll
-0x00000000023d0000 - 0x00000000023ea000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_pcodeio.dll
-0x0000000002400000 - 0x000000000244a000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_ir.dll
-0x0000000002460000 - 0x0000000002a1b000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_parser.dll
-0x0000000002a30000 - 0x0000000002a42000 	C:\Program Files\MATLAB\R2008a\bin\win64\ir_xfmr.dll
-0x0000000002a60000 - 0x0000000002c7b000 	C:\Program Files\MATLAB\R2008a\bin\win64\mcos.dll
-0x0000000002c90000 - 0x0000000002c9c000 	C:\Program Files\MATLAB\R2008a\bin\win64\mtok.dll
-0x0000000002cb0000 - 0x0000000002cd0000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_pcodegen.dll
-0x000007fef4b20000 - 0x000007fef4c45000 	C:\Windows\system32\dbghelp.dll
-0x0000000002ce0000 - 0x0000000002cf0000 	C:\Program Files\MATLAB\R2008a\bin\win64\boost_thread-vc80-mt-1_34_1.dll
-0x0000000002d00000 - 0x0000000002dc0000 	C:\Program Files\MATLAB\R2008a\bin\win64\udd.dll
-0x0000000002dd0000 - 0x0000000002f12000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwgui.dll
-0x0000000002f30000 - 0x000000000316a000 	C:\Program Files\MATLAB\R2008a\bin\win64\hg.dll
-0x0000000003180000 - 0x00000000031d6000 	C:\Program Files\MATLAB\R2008a\bin\win64\jmi.dll
-0x00000000031f0000 - 0x000000000322e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwhardcopy.dll
-0x0000000003240000 - 0x000000000329c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libuij.dll
-0x00000000032b0000 - 0x000000000353c000 	C:\Program Files\MATLAB\R2008a\bin\win64\numerics.dll
-0x0000000003550000 - 0x000000000355c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwblas.dll
-0x0000000003570000 - 0x000000000357f000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwbinder.dll
-0x0000000003590000 - 0x00000000035b4000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwlapack.dll
-0x00000000035d0000 - 0x00000000035db000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwfftw.dll
-0x00000000035f0000 - 0x0000000003625000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwrookfastbp.dll
-0x0000000003640000 - 0x000000000366e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwma57.dll
-0x0000000010000000 - 0x00000000100d3000 	C:\Program Files\MATLAB\R2008a\bin\win64\libifcoremd.dll
-0x0000000003680000 - 0x000000000389d000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmmd.dll
-0x00000000038a0000 - 0x00000000038a9000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcsparse.dll
-0x00000000038c0000 - 0x000000000398a000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwumfpack.dll
-0x00000000039a0000 - 0x00000000039ad000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwamd.dll
-0x00000000039c0000 - 0x0000000003a52000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcholmod.dll
-0x0000000003a70000 - 0x0000000003a7c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcolamd.dll
-0x0000000003a90000 - 0x0000000003b49000 	C:\Program Files\MATLAB\R2008a\bin\win64\uiw.dll
-0x0000000003b60000 - 0x0000000003b6a000 	C:\Program Files\MATLAB\R2008a\bin\win64\uinone.dll
-0x0000000068a70000 - 0x0000000068c0c000 	C:\Windows\WinSxS\amd64_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.5592_none_8448f49f328da8c3\MFC80.DLL
-0x000007fefb690000 - 0x000007fefb701000 	C:\Windows\system32\WINSPOOL.DRV
-0x000007fefee20000 - 0x000007feff023000 	C:\Windows\system32\ole32.dll
-0x000007fefebb0000 - 0x000007fefec87000 	C:\Windows\system32\OLEAUT32.dll
-0x0000000003b80000 - 0x0000000003c10000 	C:\Program Files\MATLAB\R2008a\bin\win64\udd_mi.dll
-0x0000000003c20000 - 0x0000000003c38000 	C:\Program Files\MATLAB\R2008a\bin\win64\mwoles05.DLL
-0x0000000003c50000 - 0x0000000003cb9000 	C:\Program Files\MATLAB\R2008a\bin\win64\comcli.dll
-0x0000000072310000 - 0x0000000072330000 	C:\Windows\WinSxS\amd64_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.5592_none_8a1e1b372ed7b012\ATL80.DLL
-0x0000000003cd0000 - 0x0000000003cde000 	C:\Program Files\MATLAB\R2008a\bin\win64\mlautoregister.dll
-0x000007feff4a0000 - 0x000007feff4ce000 	C:\Windows\system32\IMM32.DLL
-0x000007fefd860000 - 0x000007fefd969000 	C:\Windows\system32\MSCTF.dll
-0x000000006fa00000 - 0x000000006fa3f000 	C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~2.DLL
-0x00000000076c0000 - 0x000000000808e000 	C:\Program Files\MATLAB\R2008a\bin\win64\mkl.dll
-0x00000000068d0000 - 0x000000000691b000 	C:\Program Files\MATLAB\R2008a\bin\win64\libguide40.dll
-0x0000000003e70000 - 0x0000000003e78000 	C:\Program Files\MATLAB\R2008a\bin\win64\mklcompat.dll
-0x0000000008090000 - 0x0000000008637000 	C:\Program Files\MATLAB\R2008a\bin\win64\mllapack.dll
-0x00000000070b0000 - 0x00000000071a4000 	C:\Program Files\MATLAB\R2008a\bin\win64\libfftw3i.dll
-0x0000000007260000 - 0x000000000734e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libfftw3f.dll
-0x000007fefd370000 - 0x000007fefd37f000 	C:\Windows\system32\profapi.dll
-0x000007fefd240000 - 0x000007fefd24f000 	C:\Windows\system32\CRYPTBASE.dll
-0x000007fefbe90000 - 0x000007fefc084000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
-0x000007fefe700000 - 0x000007fefe8d7000 	C:\Windows\system32\SETUPAPI.dll
-0x000007fefd4b0000 - 0x000007fefd4e6000 	C:\Windows\system32\CFGMGR32.dll
-0x000007fefd420000 - 0x000007fefd43a000 	C:\Windows\system32\DEVOBJ.dll
-0x000007feff400000 - 0x000007feff499000 	C:\Windows\system32\CLBCatQ.DLL
-0x000007fefb8f0000 - 0x000007fefba1c000 	C:\Windows\system32\propsys.dll
-0x000007fefaea0000 - 0x000007fefaecd000 	C:\Windows\system32\ntmarta.dll
-0x000007fefeb50000 - 0x000007fefeba2000 	C:\Windows\system32\WLDAP32.dll
-0x000007fefa500000 - 0x000007fefa527000 	C:\Windows\system32\iphlpapi.dll
-0x000007fefa4f0000 - 0x000007fefa4fb000 	C:\Windows\system32\WINNSI.DLL
-0x000007fefca60000 - 0x000007fefcabb000 	C:\Windows\system32\DNSAPI.dll
-0x000007fefa0b0000 - 0x000007fefa0c8000 	C:\Windows\system32\dhcpcsvc.DLL
-0x000007fefa0d0000 - 0x000007fefa0e1000 	C:\Windows\system32\dhcpcsvc6.DLL
-0x000007fefd210000 - 0x000007fefd235000 	C:\Windows\system32\SspiCli.dll
-0x0000000074aa0000 - 0x0000000074aa3000 	C:\Windows\system32\icmp.Dll
-0x000000000edf0000 - 0x000000000f341000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\server\jvm.dll
-0x000007fefaed0000 - 0x000007fefaf0b000 	C:\Windows\system32\WINMM.dll
-0x0000000007450000 - 0x00000000074b5000 	C:\Program Files\WIDCOMM\Bluetooth Software\btmmhook.dll
-0x0000000007230000 - 0x000000000723a000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\hpi.dll
-0x0000000008740000 - 0x000000000874e000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\verify.dll
-0x0000000008750000 - 0x0000000008777000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\java.dll
-0x0000000008780000 - 0x0000000008792000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\zip.dll
-0x00000000087a0000 - 0x00000000087b6000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativejava.dll
-0x00000000088a0000 - 0x00000000088b6000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativejmi.dll
-0x000000000f850000 - 0x000000000f857000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativeservices.dll
-0x0000000011ce0000 - 0x0000000011f30000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\awt.dll
-0x00000000306a0000 - 0x0000000030709000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\fontmanager.dll
-
-VM Arguments:
-jvm_args: -Xss512k -XX:PermSize=32M -Xms64m -XX:NewRatio=3 -XX:MaxPermSize=128M -Xmx196m -XX:MaxDirectMemorySize=2147400000 -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Xshare:off -Xrs -Djava.library.path=C:\Program Files\MATLAB\R2008a\bin\win64 vfprintf abort
-java_command: <unknown>
-Launcher Type: generic
-
-Environment Variables:
-CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
-PATH=C:\Program Files (x86)\Nokia\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\MATLAB\R2010b\bin;C:\Program Files\MATLAB\R2010a\bin;C:\Program Files\MATLAB\R2008a\bin;C:\Program Files\MATLAB\R2008a\bin\win64;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft Windows Performance Toolkit\
-USERNAME=rmeddis
-OS=Windows_NT
-PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
-
-
-
----------------  S Y S T E M  ---------------
-
-OS: Windows NT 6.1 Build 7601 Service Pack 1
-
-CPU:total 4 em64t ht
-
-Memory: 4k page, physical 8181592k(6037968k free), swap 16361336k(14041736k free)
-
-vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105) for windows-amd64, built on Nov 29 2006 00:38:01 by "java_re" with unknown MS VC++:1400
-
--- a/multithreshold 1.46/hs_err_pid6852.log	Wed Aug 10 15:39:05 2011 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,288 +0,0 @@
-#
-# An unexpected error has been detected by Java Runtime Environment:
-#
-#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000011cc5110, pid=6852, tid=5540
-#
-# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)
-# Problematic frame:
-# C  [awt.dll+0x185110]
-#
-# If you would like to submit a bug report, please visit:
-#   http://java.sun.com/webapps/bugreport/crash.jsp
-#
-
----------------  T H R E A D  ---------------
-
-Current thread (0x0000000011841800):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=5540]
-
-siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
-
-Registers:
-EAX=0x800000b26e4dd767, EBX=0x0000000000000001, ECX=0x0000000030776480, EDX=0x0000000011a012d0
-ESP=0x000000003126e600, EBP=0x000000001183a360, ESI=0x0000000011841990, EDI=0x0000000000000000
-EIP=0x0000000011cc5110, EFLAGS=0x0000000000010206
-
-Top of Stack: (sp=0x000000003126e600)
-0x000000003126e600:   0000000011841800 0000000000000000
-0x000000003126e610:   000000003126e750 0000000015e00818
-0x000000003126e620:   0000000000000001 0000000011cc6dd3
-0x000000003126e630:   0000000000000001 000000001183a360
-0x000000003126e640:   0000000011841990 0000000000000000
-0x000000003126e650:   0000000011a012d0 00000000169f4028
-0x000000003126e660:   0000000000000004 00000000152cd810
-0x000000003126e670:   0000000000000000 0000000000000000
-0x000000003126e680:   0000000000000001 0000000000000102
-0x000000003126e690:   00000000122a308e 0000000000000001
-0x000000003126e6a0:   000000003126e728 00000000122afc24
-0x000000003126e6b0:   0000000000000000 0000000026630e70
-0x000000003126e6c0:   0000000000000000 0000000015e00818
-0x000000003126e6d0:   0000000000000001 0000000000000000
-0x000000003126e6e0:   000000003126e6d0 000000003126e6e8
-0x000000003126e6f0:   0000000000000000 000000003126e750 
-
-Instructions: (pc=0x0000000011cc5110)
-0x0000000011cc5100:   e8 5b 72 f9 ff 48 8b 0d 04 9a 08 00 48 8b 04 d8
-0x0000000011cc5110:   48 8b 58 30 e8 67 72 f9 ff 48 8b c3 48 83 c4 20 
-
-
-Stack: [0x00000000311f0000,0x0000000031270000),  sp=0x000000003126e600,  free space=505k
-Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
-C  [awt.dll+0x185110]
-
-Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
-j  sun.awt.Win32GraphicsConfig.getBounds(I)Ljava/awt/Rectangle;+0
-j  sun.awt.Win32GraphicsConfig.getBounds()Ljava/awt/Rectangle;+8
-j  com.mathworks.mwswing.WindowUtils.getVirtualScreenBounds()Ljava/awt/Rectangle;+98
-j  com.mathworks.mwswing.MJUtilities.getVirtualScreenBounds()Ljava/awt/Rectangle;+0
-j  com.mathworks.mwswing.desk.DTSingleClientFrame.refineLocation(Lcom/mathworks/mwswing/desk/DTLocation;)Lcom/mathworks/mwswing/desk/DTFloatingLocation;+495
-j  com.mathworks.mwswing.desk.DTSingleClientFrame.addClient(Lcom/mathworks/mwswing/desk/DTClient;Lcom/mathworks/mwswing/desk/DTLocation;)V+297
-j  com.mathworks.mwswing.desk.Desktop.setClientShowing(Lcom/mathworks/mwswing/desk/DTClient;ZLcom/mathworks/mwswing/desk/DTLocation;ZZ)V+956
-j  com.mathworks.mwswing.desk.Desktop.setClientShowing(Lcom/mathworks/mwswing/desk/DTClient;ZLcom/mathworks/mwswing/desk/DTLocation;Z)V+7
-j  com.mathworks.mwswing.desk.Desktop.setClientDocked(Lcom/mathworks/mwswing/desk/DTClient;Z)V+296
-j  com.mathworks.mwswing.desk.DTClient$ClientUndockAction.actionPerformed(Ljava/awt/event/ActionEvent;)V+12
-j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
-j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
-j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
-j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
-j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
-j  java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+8
-j  java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+8
-j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
-j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
-j  com.mathworks.mwswing.MJButton.processMouseEvent(Ljava/awt/event/MouseEvent;)V+37
-j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
-j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
-J  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
-J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
-J  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V
-J  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
-j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
-J  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
-J  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V
-j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
-j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
-j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
-j  java.awt.EventDispatchThread.run()V+9
-v  ~StubRoutines::call_stub
-
----------------  P R O C E S S  ---------------
-
-Java Threads: ( => current thread )
-  0x0000000031567800 JavaThread "Timer-7" [_thread_blocked, id=4716]
-  0x0000000031568000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=6432]
-  0x0000000031566c00 JavaThread "Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" daemon [_thread_blocked, id=7912]
-  0x0000000031565000 JavaThread "Thread-237" [_thread_blocked, id=5244]
-  0x0000000031568800 JavaThread "Thread-230" [_thread_blocked, id=5112]
-  0x0000000031567400 JavaThread "Prefs Updater" [_thread_blocked, id=6764]
-  0x0000000031566400 JavaThread "Thread-10" [_thread_blocked, id=7204]
-  0x0000000031565c00 JavaThread "Thread-9" [_thread_blocked, id=6880]
-  0x0000000031565800 JavaThread "Thread-8" [_thread_blocked, id=6964]
-  0x0000000031564800 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=7260]
-  0x0000000031564000 JavaThread "Timer-3" daemon [_thread_blocked, id=4892]
-  0x000000003155d000 JavaThread "Timer-2" daemon [_thread_blocked, id=6948]
-  0x0000000030c13000 JavaThread "TimerQueue" daemon [_thread_blocked, id=5596]
-=>0x0000000011841800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=5540]
-  0x00000000307b0800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5832]
-  0x00000000307afc00 JavaThread "AWT-Shutdown" [_thread_blocked, id=4548]
-  0x00000000307af400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5040]
-  0x0000000011779000 JavaThread "Timer-0" [_thread_blocked, id=6884]
-  0x00000000111f1c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4740]
-  0x00000000111ef800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=7472]
-  0x00000000111e7c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6800]
-  0x00000000111e6800 JavaThread "Attach Listener" daemon [_thread_blocked, id=7688]
-  0x00000000111c7400 JavaThread "Finalizer" daemon [_thread_blocked, id=7524]
-  0x0000000003def400 JavaThread "Reference Handler" daemon [_thread_blocked, id=2228]
-  0x0000000003d2fc00 JavaThread "main" [_thread_in_native, id=5124]
-
-Other Threads:
-  0x0000000003dee400 VMThread [id=7268]
-  0x00000000111f7400 WatcherThread [id=7276]
-
-VM state:not at safepoint (normal execution)
-
-VM Mutex/Monitor currently owned by a thread: None
-
-Heap
- PSYoungGen      total 11392K, used 691K [0x00000000265a0000, 0x00000000273a0000, 0x00000000296a0000)
-  eden space 10624K, 6% used [0x00000000265a0000,0x000000002664cc98,0x0000000027000000)
-  from space 768K, 0% used [0x0000000027040000,0x0000000027040000,0x0000000027100000)
-  to   space 1856K, 0% used [0x00000000271d0000,0x00000000271d0000,0x00000000273a0000)
- PSOldGen        total 50944K, used 35225K [0x000000001d2a0000, 0x0000000020460000, 0x00000000265a0000)
-  object space 50944K, 69% used [0x000000001d2a0000,0x000000001f5066a8,0x0000000020460000)
- PSPermGen       total 58624K, used 44603K [0x00000000152a0000, 0x0000000018be0000, 0x000000001d2a0000)
-  object space 58624K, 76% used [0x00000000152a0000,0x0000000017e2ef18,0x0000000018be0000)
-
-Dynamic libraries:
-0x0000000140000000 - 0x0000000140138000 	C:\Program Files\MATLAB\R2008a\bin\win64\MATLAB.exe
-0x0000000077a60000 - 0x0000000077c09000 	C:\Windows\SYSTEM32\ntdll.dll
-0x0000000077940000 - 0x0000000077a5f000 	C:\Windows\system32\kernel32.dll
-0x000007fefdbd0000 - 0x000007fefdc3b000 	C:\Windows\system32\KERNELBASE.dll
-0x0000000180000000 - 0x0000000180401000 	C:\Program Files\MATLAB\R2008a\bin\win64\libut.dll
-0x000007fefe1b0000 - 0x000007fefe1c7000 	C:\Windows\system32\imagehlp.dll
-0x000007fefdf80000 - 0x000007fefe01f000 	C:\Windows\system32\msvcrt.dll
-0x0000000077c30000 - 0x0000000077c37000 	C:\Windows\system32\PSAPI.DLL
-0x00000000010d0000 - 0x00000000010f8000 	C:\Program Files\MATLAB\R2008a\bin\win64\LIBEXPAT.dll
-0x0000000073fa0000 - 0x0000000074069000 	C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_88e45feb2faab9ce\MSVCR80.dll
-0x000000004a800000 - 0x000000004a917000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuuc36.dll
-0x000007feffc30000 - 0x000007feffd0b000 	C:\Windows\system32\ADVAPI32.dll
-0x000007feff4e0000 - 0x000007feff4ff000 	C:\Windows\SYSTEM32\sechost.dll
-0x000007feff140000 - 0x000007feff26d000 	C:\Windows\system32\RPCRT4.dll
-0x0000000001120000 - 0x0000000001123000 	C:\Program Files\MATLAB\R2008a\bin\win64\icudt36.dll
-0x000000004ab00000 - 0x000000004ab0f000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuio36.dll
-0x00000000012b0000 - 0x00000000013b6000 	C:\Program Files\MATLAB\R2008a\bin\win64\icuin36.dll
-0x0000000072920000 - 0x0000000072a29000 	C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_88e45feb2faab9ce\MSVCP80.dll
-0x0000000077840000 - 0x000000007793a000 	C:\Windows\system32\USER32.dll
-0x000007feff5a0000 - 0x000007feff607000 	C:\Windows\system32\GDI32.dll
-0x000007fefe1a0000 - 0x000007fefe1ae000 	C:\Windows\system32\LPK.dll
-0x000007feffb60000 - 0x000007feffc29000 	C:\Windows\system32\USP10.dll
-0x00000000013c0000 - 0x0000000001534000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwservices.dll
-0x0000000001540000 - 0x00000000015b0000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmx.dll
-0x0000000001180000 - 0x0000000001197000 	C:\Program Files\MATLAB\R2008a\bin\win64\zlib1.dll
-0x00000000015b0000 - 0x0000000001658000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwmathutil.dll
-0x0000000001660000 - 0x00000000016b5000 	C:\Program Files\MATLAB\R2008a\bin\win64\mpath.dll
-0x00000000016d0000 - 0x00000000016f1000 	C:\Program Files\MATLAB\R2008a\bin\win64\mlutil.dll
-0x000007fef9630000 - 0x000007fef96d0000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\COMCTL32.dll
-0x000007fefdd80000 - 0x000007fefde17000 	C:\Windows\system32\comdlg32.dll
-0x000007feff660000 - 0x000007feff6d1000 	C:\Windows\system32\SHLWAPI.dll
-0x000007fefe1d0000 - 0x000007fefef58000 	C:\Windows\system32\SHELL32.dll
-0x000007fefce80000 - 0x000007fefce96000 	C:\Windows\system32\NETAPI32.dll
-0x000007fefce70000 - 0x000007fefce7c000 	C:\Windows\system32\netutils.dll
-0x000007fefd500000 - 0x000007fefd523000 	C:\Windows\system32\srvcli.dll
-0x000007fefce50000 - 0x000007fefce65000 	C:\Windows\system32\wkscli.dll
-0x000007feff610000 - 0x000007feff65d000 	C:\Windows\system32\WS2_32.dll
-0x000007feff6e0000 - 0x000007feff6e8000 	C:\Windows\system32\NSI.dll
-0x0000000001710000 - 0x0000000001765000 	C:\Program Files\MATLAB\R2008a\bin\win64\mcr.dll
-0x0000000001780000 - 0x00000000017a5000 	C:\Program Files\MATLAB\R2008a\bin\win64\iqm.dll
-0x00000000017c0000 - 0x00000000017e1000 	C:\Program Files\MATLAB\R2008a\bin\win64\bridge.dll
-0x0000000001800000 - 0x0000000001811000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmex.dll
-0x0000000001830000 - 0x00000000018bc000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_dispatcher.dll
-0x00000000018d0000 - 0x00000000018f5000 	C:\Program Files\MATLAB\R2008a\bin\win64\datasvcs.dll
-0x0000000012000000 - 0x0000000012295000 	C:\Program Files\MATLAB\R2008a\bin\win64\xerces-c_2_7.dll
-0x0000000001920000 - 0x00000000021b1000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_interpreter.dll
-0x00000000021d0000 - 0x0000000002201000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmat.dll
-0x0000000002220000 - 0x0000000002325000 	C:\Program Files\MATLAB\R2008a\bin\win64\libhdf5.dll
-0x0000000002330000 - 0x000000000239f000 	C:\Program Files\MATLAB\R2008a\bin\win64\profiler.dll
-0x00000000023b0000 - 0x00000000023ba000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwmathrng.dll
-0x00000000023d0000 - 0x00000000023ea000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_pcodeio.dll
-0x0000000002400000 - 0x000000000244a000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_ir.dll
-0x0000000002460000 - 0x0000000002a1b000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_parser.dll
-0x0000000002a30000 - 0x0000000002a42000 	C:\Program Files\MATLAB\R2008a\bin\win64\ir_xfmr.dll
-0x0000000002a60000 - 0x0000000002c7b000 	C:\Program Files\MATLAB\R2008a\bin\win64\mcos.dll
-0x0000000002c90000 - 0x0000000002c9c000 	C:\Program Files\MATLAB\R2008a\bin\win64\mtok.dll
-0x0000000002cb0000 - 0x0000000002cd0000 	C:\Program Files\MATLAB\R2008a\bin\win64\m_pcodegen.dll
-0x000007fefad70000 - 0x000007fefae95000 	C:\Windows\system32\dbghelp.dll
-0x0000000002ce0000 - 0x0000000002cf0000 	C:\Program Files\MATLAB\R2008a\bin\win64\boost_thread-vc80-mt-1_34_1.dll
-0x0000000002d00000 - 0x0000000002dc0000 	C:\Program Files\MATLAB\R2008a\bin\win64\udd.dll
-0x0000000002dd0000 - 0x0000000002f12000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwgui.dll
-0x0000000002f30000 - 0x000000000316a000 	C:\Program Files\MATLAB\R2008a\bin\win64\hg.dll
-0x0000000003180000 - 0x00000000031d6000 	C:\Program Files\MATLAB\R2008a\bin\win64\jmi.dll
-0x00000000031f0000 - 0x000000000322e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwhardcopy.dll
-0x0000000003240000 - 0x000000000329c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libuij.dll
-0x00000000032b0000 - 0x000000000353c000 	C:\Program Files\MATLAB\R2008a\bin\win64\numerics.dll
-0x0000000003550000 - 0x000000000355c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwblas.dll
-0x0000000003570000 - 0x000000000357f000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwbinder.dll
-0x0000000003590000 - 0x00000000035b4000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwlapack.dll
-0x00000000035d0000 - 0x00000000035db000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwfftw.dll
-0x00000000035f0000 - 0x0000000003625000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwrookfastbp.dll
-0x0000000003640000 - 0x000000000366e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwma57.dll
-0x0000000010000000 - 0x00000000100d3000 	C:\Program Files\MATLAB\R2008a\bin\win64\libifcoremd.dll
-0x0000000003680000 - 0x000000000389d000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmmd.dll
-0x00000000038a0000 - 0x00000000038a9000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcsparse.dll
-0x00000000038c0000 - 0x000000000398a000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwumfpack.dll
-0x00000000039a0000 - 0x00000000039ad000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwamd.dll
-0x00000000039c0000 - 0x0000000003a52000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcholmod.dll
-0x0000000003a70000 - 0x0000000003a7c000 	C:\Program Files\MATLAB\R2008a\bin\win64\libmwcolamd.dll
-0x0000000003a90000 - 0x0000000003b49000 	C:\Program Files\MATLAB\R2008a\bin\win64\uiw.dll
-0x0000000003b60000 - 0x0000000003b6a000 	C:\Program Files\MATLAB\R2008a\bin\win64\uinone.dll
-0x0000000071490000 - 0x000000007162c000 	C:\Windows\WinSxS\amd64_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.5592_none_8448f49f328da8c3\MFC80.DLL
-0x000007fefbcd0000 - 0x000007fefbd41000 	C:\Windows\system32\WINSPOOL.DRV
-0x000007feff6f0000 - 0x000007feff8f3000 	C:\Windows\system32\ole32.dll
-0x000007feff400000 - 0x000007feff4d7000 	C:\Windows\system32\OLEAUT32.dll
-0x0000000003b80000 - 0x0000000003c10000 	C:\Program Files\MATLAB\R2008a\bin\win64\udd_mi.dll
-0x0000000003c20000 - 0x0000000003c38000 	C:\Program Files\MATLAB\R2008a\bin\win64\mwoles05.DLL
-0x0000000003c50000 - 0x0000000003cb9000 	C:\Program Files\MATLAB\R2008a\bin\win64\comcli.dll
-0x0000000072900000 - 0x0000000072920000 	C:\Windows\WinSxS\amd64_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.5592_none_8a1e1b372ed7b012\ATL80.DLL
-0x0000000003cd0000 - 0x0000000003cde000 	C:\Program Files\MATLAB\R2008a\bin\win64\mlautoregister.dll
-0x000007fefde20000 - 0x000007fefde4e000 	C:\Windows\system32\IMM32.DLL
-0x000007feff2f0000 - 0x000007feff3f9000 	C:\Windows\system32\MSCTF.dll
-0x000000006fa00000 - 0x000000006fa3f000 	C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~2.DLL
-0x0000000007240000 - 0x0000000007c0e000 	C:\Program Files\MATLAB\R2008a\bin\win64\mkl.dll
-0x0000000005810000 - 0x000000000585b000 	C:\Program Files\MATLAB\R2008a\bin\win64\libguide40.dll
-0x0000000005860000 - 0x0000000005868000 	C:\Program Files\MATLAB\R2008a\bin\win64\mklcompat.dll
-0x0000000007c10000 - 0x00000000081b7000 	C:\Program Files\MATLAB\R2008a\bin\win64\mllapack.dll
-0x0000000006c40000 - 0x0000000006d34000 	C:\Program Files\MATLAB\R2008a\bin\win64\libfftw3i.dll
-0x0000000006d40000 - 0x0000000006e2e000 	C:\Program Files\MATLAB\R2008a\bin\win64\libfftw3f.dll
-0x000007fefd9b0000 - 0x000007fefd9bf000 	C:\Windows\system32\profapi.dll
-0x000007fefd8e0000 - 0x000007fefd8ef000 	C:\Windows\system32\CRYPTBASE.dll
-0x000007fefc4d0000 - 0x000007fefc6c4000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
-0x000007fefef60000 - 0x000007feff137000 	C:\Windows\system32\SETUPAPI.dll
-0x000007fefdca0000 - 0x000007fefdcd6000 	C:\Windows\system32\CFGMGR32.dll
-0x000007fefdc80000 - 0x000007fefdc9a000 	C:\Windows\system32\DEVOBJ.dll
-0x000007feff500000 - 0x000007feff599000 	C:\Windows\system32\CLBCatQ.DLL
-0x000007fefbf30000 - 0x000007fefc05c000 	C:\Windows\system32\propsys.dll
-0x000007fefb4e0000 - 0x000007fefb50d000 	C:\Windows\system32\ntmarta.dll
-0x000007feffd10000 - 0x000007feffd62000 	C:\Windows\system32\WLDAP32.dll
-0x000007fefa3d0000 - 0x000007fefa3f7000 	C:\Windows\system32\iphlpapi.dll
-0x000007fefa3c0000 - 0x000007fefa3cb000 	C:\Windows\system32\WINNSI.DLL
-0x000007fefd0a0000 - 0x000007fefd0fb000 	C:\Windows\system32\DNSAPI.dll
-0x000007fef9e00000 - 0x000007fef9e11000 	C:\Windows\system32\dhcpcsvc6.DLL
-0x000007fef9db0000 - 0x000007fef9dc8000 	C:\Windows\system32\dhcpcsvc.DLL
-0x000007fefd850000 - 0x000007fefd875000 	C:\Windows\system32\SspiCli.dll
-0x0000000074fe0000 - 0x0000000074fe3000 	C:\Windows\system32\icmp.Dll
-0x000000000f820000 - 0x000000000fd71000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\server\jvm.dll
-0x000007fefb5c0000 - 0x000007fefb5fb000 	C:\Windows\system32\WINMM.dll
-0x0000000006aa0000 - 0x0000000006aaa000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\hpi.dll
-0x00000000082c0000 - 0x00000000082ce000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\verify.dll
-0x00000000082d0000 - 0x00000000082f7000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\java.dll
-0x0000000008300000 - 0x0000000008312000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\zip.dll
-0x000000000ff40000 - 0x000000000ffa5000 	C:\Program Files\WIDCOMM\Bluetooth Software\btmmhook.dll
-0x000000000ffb0000 - 0x000000000ffc6000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativejava.dll
-0x000000000ffe0000 - 0x000000000fff6000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativejmi.dll
-0x00000000112f0000 - 0x00000000112f7000 	C:\Program Files\MATLAB\R2008a\bin\win64\nativeservices.dll
-0x0000000011b40000 - 0x0000000011d90000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\awt.dll
-0x0000000011f10000 - 0x0000000011f79000 	C:\Program Files\MATLAB\R2008a\sys\java\jre\win64\jre1.6.0\bin\fontmanager.dll
-
-VM Arguments:
-jvm_args: -Xss512k -XX:PermSize=32M -Xms64m -XX:NewRatio=3 -XX:MaxPermSize=128M -Xmx196m -XX:MaxDirectMemorySize=2147400000 -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Xshare:off -Xrs -Djava.library.path=C:\Program Files\MATLAB\R2008a\bin\win64 vfprintf abort
-java_command: <unknown>
-Launcher Type: generic
-
-Environment Variables:
-CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
-PATH=C:\Program Files (x86)\Nokia\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\DMIX;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\MATLAB\R2010b\bin;C:\Program Files\MATLAB\R2010a\bin;C:\Program Files\MATLAB\R2008a\bin;C:\Program Files\MATLAB\R2008a\bin\win64;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft Windows Performance Toolkit\
-USERNAME=rmeddis
-OS=Windows_NT
-PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
-
-
-
----------------  S Y S T E M  ---------------
-
-OS: Windows NT 6.1 Build 7601 Service Pack 1
-
-CPU:total 4 em64t ht
-
-Memory: 4k page, physical 8181592k(5194804k free), swap 16361336k(13377632k free)
-
-vm_info: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105) for windows-amd64, built on Nov 29 2006 00:38:01 by "java_re" with unknown MS VC++:1400
-
--- a/multithreshold 1.46/paradigms/paradigm_TMC.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/multithreshold 1.46/paradigms/paradigm_TMC.m	Thu Aug 11 16:52:25 2011 +0100
@@ -8,6 +8,7 @@
 stimulusParameters.WRVsteps= [-10 -4];
 stimulusParameters.WRVlimits=[-30 110];
 
+
 stimulusParameters.cueTestDifference = 10;
 experiment.psyFunSlope = -1;
 withinRuns.direction='up';
--- a/multithreshold 1.46/plotProfile.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/multithreshold 1.46/plotProfile.m	Thu Aug 11 16:52:25 2011 +0100
@@ -1,154 +1,86 @@
-function plotProfile(longTone,shortTone,gaps,BFs,TMC,offBFs,IFMCs)
+function plotProfile(fgName, bgName)
+
+addpath (['..' filesep 'profiles'])
 
 %% plot profile
 if nargin<1
-    load profile
+    fgName = myFile;
+    bgName = '';
 end
 
-% comparison data (e.g. participants)
-% rows are BFs
+cmd=['foreground = ' fgName ';'];
+eval(cmd)
 
-% % -------------------------------------------JSan
-% compareBFs=[250	500	1000	2000	3000
-% ];
-% compareLongTone=  [67.46485	56.95655	65.01985	61.46655	73.33265
-% ];
-% compareShortTone=[	72.3185	63.2818	69.0373	65.2853	76
-% ];
-% 
-% compareGaps=[0.02 0.05 0.08];
-% compareTMC=	[
-%     84	69	77	75	93
-% 88	73	81	79	97
-% 95	79	85	83	98
-% ];
-% 
-% compareMaskerFreqs=[0.7  0.9 1 1.1  1.3 ];
-% compareIFMCs=[83.1698	77.3165	79.8474	82.9074	82.3294
-% 80.9667	73.6653	80.9446	80.7005	79.0022
-% 82.0135	71.2284	78.7345	74.3342	84.126
-% 79.3348	70.3347	78.5769	79.7274	91.9849
-% 79.2308	76.3164	83.6881	86.2105	NaN
-%   ];
-% 
-% -------------------------------------------JE
-compareBFs=[250 500 1000 2000 4000 8000];
-compareLongTone=  [32 30	31	40	54 NaN];
-compareShortTone=[	49	50	47	56	63	NaN];
-
-compareGaps=0.01:0.01:0.09;
-compareTMC=	[
-    69	83	82	NaN	NaN	NaN	NaN	NaN	NaN
-    61	68	79	88	93	NaN	NaN	NaN	NaN
-    63	69	79	84	92	NaN	NaN	NaN	NaN
-    67	71	75	80	82	84	88	93	NaN
-    82	82	86	86	NaN	83	88	90	75
-    NaN	NaN	NaN	NaN	NaN	NaN	NaN	NaN	NaN
-    ];
-compareTMC=compareTMC';
-
-compareMaskerFreqs=[0.5	0.7	0.9	1	1.1	1.3	1.6];
-compareIFMCs=[
-    64	60	58	58	57	60	64
-    65	63	58	55	54	59	69
-    68	64	60	59	62	73	79
-    76	75	71	67	68	71	77
-    79	71	68	69	73	75	77
-    76	73	75	75	76	80	NaN
-    ];
-compareIFMCs=compareIFMCs';
-
-% % -------------------------------------------CMR
-% % CMR 
-% compareBFs=[250 500 1000 2000 4000 8000];
-% compareLongTone=[	11.4	1.55	-13.5	-6.35	-6.4	7.45];
-% compareShortTone=[	23.85	18.9	9.85	10.6	9.55	21.9];
-% 
-% compareGaps=0.01:0.01:0.09;
-% compareTMC=	[
-%     28.5	35.0	49.3	70.1	80.5	85.5    NaN      NaN    NaN;
-%     31.1	44.3	48.4	59.5	56.4	76.7	70.2	82.4	76.3;
-%     33.4	38.4	48.8	55.8	64.5	78.7	84.2	88.3	90.3;
-%     25.4	37.0	49.2	49.7	58.2	69.6	87.7	95.8	93.0;
-%     18.2	23.5	27.4	41.5	64.3	82.1	86.7	91.2	NaN;
-%     32.5	35.8	43.5	52.1	69.1	78.6	86.6	86.0	NaN;
-%     ];
-% compareTMC=compareTMC';
-% 
-% compareMaskerFreqs=[0.5	0.7	0.9	1	1.1	1.3	1.6];
-% compareIFMCs=[
-%     50	42	34	35	34	33	37;
-%     58	51	38	33	28	41	49;
-%     57	41	27	20	28	37	66;
-%     61	49	27	20	34	68	79;
-%     67	45	27	22	46	74	87;
-%     62	62	43	22	47	56	83;
-%     ];
-% compareIFMCs=compareIFMCs';
+if nargin==2
+    cmd=['background = ' bgName ';'];
+    eval(cmd)
+else
+    bgName='';
+end
 
 % absolute thresholds
 figure(90), clf
 subplot(2,1,2)
-semilogx(BFs,longTone,'ko-','lineWidth',2); hold on
-semilogx(BFs,shortTone,'bo-','lineWidth',2); hold on
-semilogx(compareBFs,compareLongTone,'ko:'); hold on
-semilogx(compareBFs,compareShortTone,'bo:'); hold on
+semilogx(foreground.BFs,foreground.LongTone,'ko-','lineWidth',2); hold on
+semilogx(foreground.BFs,foreground.ShortTone,'bo-','lineWidth',2); hold on
+if ~isempty(bgName)
+    semilogx(background.BFs,background.LongTone,'ko:'); hold on
+    semilogx(background.BFs,background.ShortTone,'bo:'); hold on
+end
 ylim([0 100])
 
 % TMC
-for BFno=1:length(BFs)
+for BFno=1:length(foreground.TMCFreq)
     subplot(2,6,BFno)
-    plot(gaps,TMC(:,BFno)-longTone(BFno),'r','lineWidth',3), hold on
-    plot(gaps,TMC(:,BFno),'b','lineWidth',3), hold on
+    plot(foreground.Gaps,foreground.TMC(BFno,:)-foreground.LongTone(BFno),'r','lineWidth',3), hold on
+    plot(foreground.Gaps,foreground.TMC(BFno,:),'b','lineWidth',3), hold on
     ylim([-10 110])
     xlim([0.01 0.1])
     grid on
     if BFno==1
         ylabel('masker dB SL')
         xlabel('gap')
-%         text(0.02,80,' TMC','backgroundColor','w')
     end
-    title([num2str(BFs(BFno)) ' Hz'])
+    title([num2str(foreground.TMCFreq(BFno)) ' Hz'])
     set(gca,'XTick',[ 0.1],'xTickLabel', { '0.1'})
 end
 
+if ~isempty(bgName)
+    for BFno=1:length(background.TMCFreq)
+        BF = background.TMCFreq(BFno);
+        idx = find(BF == foreground.TMCFreq);
+        if ~isempty(idx);
+            
+            subplot(2,6,idx)
+            plot(background.Gaps,background.TMC(BFno,:)-background.LongTone(BFno),'k:')
+            plot(background.Gaps,background.TMC(BFno,:),'k:')
+            ylim([-10 110])
+            xlim([0.01 0.1])
+        end
+    end
+end
+
 % IFMCs
-for BFno=1:length(BFs)
-    freq=offBFs'*BFs(BFno);
+for BFno=1:length(foreground.IFMCFreq)
+    freq=foreground.MaskerRatio'*foreground.IFMCFreq(BFno);
     subplot(2,1,2)
-    semilogx(freq,IFMCs(:,BFno),'r','lineWidth',3), hold on
+    semilogx(freq,foreground.IFMCs(BFno,:),'r','lineWidth',3), hold on
     ylim([0 100])
     xlim([100 12000])
     grid on
 end
 xlabel('frequency (Hz)')
 ylabel('masker dB / probe dB')
-set(gca,'XTick',BFs)
+set(gca,'XTick',foreground.IFMCFreq)
 
-for BFno=1:length(compareBFs)
-    subplot(2,6,BFno)
-    plot(compareGaps,compareTMC(:,BFno)-longTone(BFno),'k:')
-    plot(compareGaps,compareTMC(:,BFno),'k:')
-    ylim([-10 110])
-    xlim([0.01 0.1])
-    grid on
-    if BFno==1
-        ylabel('masker dB SL')
-        xlabel('gap')
-%         text(0.02,80,' TMC','backgroundColor','w')
+if ~isempty(bgName)
+    for BFno=1:length(background.IFMCFreq)
+        freq=background.MaskerRatio'*background.IFMCFreq(BFno);
+        subplot(2,1,2)
+        semilogx(freq,background.IFMCs(BFno,:),'k:')
+        ylim([0 100])
+        xlim([100 12000])
     end
-    title([num2str(BFs(BFno)) ' Hz'])
-    set(gca,'XTick',[ 0.1],'xTickLabel', { '0.1'})
-end
-
-% IFMCs
-for BFno=1:length(compareBFs)
-    compareFreq=compareMaskerFreqs'*BFs(BFno);
-    subplot(2,1,2)
-    semilogx(compareFreq,compareIFMCs(:,BFno),'k:')
-    ylim([0 100])
-    xlim([100 12000])
-    grid on
 end
 mydate=datestr(now); idx=findstr(':',mydate); mydate(idx)='_';
 
--- a/multithreshold 1.46/printReport.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/multithreshold 1.46/printReport.m	Thu Aug 11 16:52:25 2011 +0100
@@ -23,14 +23,8 @@
     % print new report
     printReportGuide.showTracks=experiment.printTracks;
     printReportGuide.fileName=[];
-    if experiment.saveData
-        saveFileName=...
-            ['savedData/' experiment.name '_' ...
-            experiment.date '_' experiment.paradigm];
-    else
-        % save this data (just in case)
-        saveFileName=['savedData/mostRecentResults'];
-    end
+    % save this data (just in case)
+    saveFileName=['savedData/mostRecentResults'];
     experiment.minElapsed=etime(clock, betweenRuns.timeNow)/60;
     save(saveFileName, 'experiment', 'stimulusParameters',...
         'betweenRuns', 'withinRuns', 'statsModel', 'expGUIhandles')
@@ -87,7 +81,7 @@
 addToMsg(msg,0)
 if ~isempty(paramChanges)
     fprintf('\n')
-    disp(paramChanges)
+    fprintf('%s\n', char(paramChanges))
 end
 
 % sort tracks into the same order
@@ -195,7 +189,7 @@
 
 fprintf('\nparadigm:\t%s\n ', experiment.paradigm)
 if ~isempty(paramChanges)
-    disp(paramChanges)
+    fprintf('%s\n', char(paramChanges))
 end
 
 % ------------------------------------------------- sortTablesForPrinting
Binary file multithreshold 1.46/profile.mat has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/multithreshold 1.46/profile2mFile.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,65 @@
+function profile2mFile(longTone, shortTone, gaps, BFs, TMC, offBFs, ...
+    IFMCs, mFileName)
+
+St = ['function x = ' mFileName ];
+fid = fopen([mFileName '.m'],'w');
+fprintf(fid, '%s\n', St);
+
+St = ['x.BFs = [' num2str(BFs) '];' ];
+fprintf(fid, '%s\n', St);
+
+St = ['x.LongTone = [' num2str(longTone',3) '];' ];
+fprintf(fid, '%s\n', St);
+
+St = ['x.ShortTone = [' num2str(shortTone',3) '];' ];
+fprintf(fid, '%s\n', St);
+
+St = ['x.Gaps = [' num2str(gaps',3) '];' ];
+fprintf(fid, '%s\n', St);
+
+TMCFreq = BFs;
+St = ['x.TMCFreq = [' num2str(TMCFreq) '];' ];
+fprintf(fid, '%s\n', St);
+
+fprintf(fid, '%s\t', 'x.TMC = [');
+for i = 1:size(TMC,1),
+    for j = 1:size(TMC,2),
+        St = [num2str(TMC(i,j),3)];
+        fprintf(fid, '%s\t', St);
+    end
+    fprintf(fid,'%s\n',' ');
+end
+fprintf(fid,'%s\n','];');
+
+St = ['x.TMC = x.TMC'';' ];
+fprintf(fid, '%s\n', St);
+
+St = ['x.MaskerRatio = [' num2str(offBFs',2) '];' ];
+fprintf(fid, '%s\n', St);
+
+IFMCFreq = BFs;
+St = ['x.IFMCFreq = [' num2str(IFMCFreq) '];' ];
+fprintf(fid, '%s\n', St);
+
+fprintf(fid, '%s\t', 'x.IFMCs = [');
+for i = 1:size(IFMCs,1),
+    for j = 1:size(IFMCs,2),
+        St = [num2str(IFMCs(i,j),3)];
+        fprintf(fid, '%s\t', St);
+    end
+    fprintf(fid,'%s\n',' ');
+end
+fprintf(fid,'%s\n','];');
+
+St = ['x.IFMCs = x.IFMCs'';' ];
+fprintf(fid, '%s\n', St);
+
+fclose(fid);
+
+
+
+
+
+
+
+
Binary file multithreshold 1.46/savedData/10-Aug-2011 15_31_21.mat has changed
Binary file multithreshold 1.46/savedData/10-Aug-2011 15_33_58.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 10_53_52.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 10_55_36.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 15_51_34.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 15_54_08.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 15_57_29.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_14_22.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_26_04.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_47_28.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_48_53.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_49_46.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_50_10.mat has changed
Binary file multithreshold 1.46/savedData/11-Aug-2011 16_50_37.mat has changed
Binary file multithreshold 1.46/savedData/21-Jul-2011 10_50_52.mat has changed
Binary file multithreshold 1.46/savedData/21-Jul-2011 10_55_11.mat has changed
Binary file multithreshold 1.46/savedData/21-Jul-2011 11_33_40.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 09_33_53.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 09_37_07.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 09_43_16.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 09_57_25.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 10_03_04.mat has changed
Binary file multithreshold 1.46/savedData/22-Jul-2011 10_18_01.mat has changed
Binary file multithreshold 1.46/savedData/mostRecentResults.mat has changed
Binary file multithreshold 1.46/savedData/nemo_22-Jul-2011 08_37_20_training.mat has changed
Binary file multithreshold 1.46/savedData/profile10_53hr11_Aug_2011.mat has changed
Binary file multithreshold 1.46/savedData/profile10_55hr11_Aug_2011.mat has changed
--- a/multithreshold 1.46/subjGUI_MT.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/multithreshold 1.46/subjGUI_MT.m	Thu Aug 11 16:52:25 2011 +0100
@@ -1379,7 +1379,7 @@
         if experiment.stop || experiment.singleShot
             % trap for single trial or user interrupt using 'stop' button.
             experiment.status= 'waitingForStart';
-            experiment.stop=0;
+%             experiment.stop=0;
             errormsg='manually stopped';
             addToMsg(errormsg,1)
             return
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/profile_CMA_L.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,44 @@
+function x = profile_CMA_L									
+x.BFs= [   									
+	250	500	1000	2000	4000	8000			
+	];								
+x.LongTone= [ 									
+	6.60	-3.45	-6.50	-5.00	2.75	11.90			
+	];								
+x.ShortTone= [ 									
+	22.40	15.40	15.20	12.00	11.65	27.80			
+	];								
+x.Gaps= [									
+	0.01	0.02	0.03	0.04	0.05	0.06	0.07	0.08	0.09
+	];								
+x.TMCFreq= [									
+	250	500	1000	2000	4000	6000			
+	];								
+x.TMC= [									
+	35.13	27.60	26.90	20.37	20.90	37.50			
+	41.60	40.87	31.93	32.03	26.20	40.83			
+	55.87	44.97	42.30	44.20	30.13	48.47			
+	76.73	56.03	49.33	44.67	44.20	57.10			
+	87.07	52.97	57.97	53.17	67.03	74.10			
+	92.10	73.27	72.23	64.63	84.83	83.57			
+	NaN	66.77	77.73	82.67	89.47	91.60			
+	NaN	78.97	81.80	90.77	93.90	90.95			
+	NaN	72.80	83.80	87.95	NaN	NaN			
+	];								
+x.TMC = x.TMC';									
+x.IFMCFreq= [									
+	250	500	1000	2000	4000	6000	8000		
+	];								
+x.MaskerRatio=[    									
+	0.5	0.7	0.9	1	1.1	1.3	1.6		
+	];								
+x.IFMCs=[									
+	48.40	45.83	51.27	42.03	55.93	60.97	73.57		
+	35.83	33.90	28.13	33.10	39.90	45.73	68.83		
+	33.53	21.17	23.03	21.07	22.28	27.30	31.07		
+	29.20	18.57	21.33	17.17	17.03	23.93	30.23		
+	26.90	19.83	28.13	27.00	22.00	31.10	40.93		
+	31.37	21.30	41.17	34.57	32.33	46.47	46.60		
+	34.53	27.90	61.53	52.30	48.08	32.50	44.87		
+	];								
+x.IFMCs= x.IFMCs';									
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/profile_JE_L.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,45 @@
+function x = profile_JE_L									
+x.BFs= [   									
+	250	500	1000	2000	3000	4000			
+	];								
+x.LongTone= [ 									
+	31.71	30.29	30.54	39.79	NaN	53.71			
+	];								
+x.ShortTone= [ 									
+	48.50	50.17	46.57	55.80	62.40	63.45			
+	];								
+x.Gaps= [									
+	0.01	0.02	0.03	0.04	0.05	0.06	0.07	0.08	0.09
+	];								
+x.TMCFreq= [									
+	250	500	1000	2000	4000				
+	];								
+x.TMC= [									
+68.97	61.43	63.20	67.37	81.83
+82.70	68.40	69.27	71.07	82.38
+81.77	78.53	79.20	74.50	85.78
+93.90	87.77	83.83	80.07	85.60
+NaN	93.00	92.40	81.50	NaN
+NaN	NaN	NaN	83.53	82.50
+NaN	NaN	NaN	88.35	88.20
+NaN	NaN	NaN	92.80	89.50
+NaN	NaN	NaN	NaN	74.80
+			
+	];								
+x.TMC = x.TMC';									
+x.IFMCFreq= [									
+	250	500	1000	2000	3000	4000			
+	];								
+x.MaskerRatio=[    									
+	0.5	0.7	0.9	1	1.1	1.3	1.6		
+	];								
+x.IFMCs=[									
+	64.37	64.53	67.65	75.50	78.80	76.26			
+	59.70	62.93	63.70	74.57	71.30	72.56			
+	57.50	57.67	59.85	70.53	67.73	74.90			
+	58.27	55.27	59.30	66.97	69.37	75.13			
+	57.20	53.73	61.55	67.73	72.70	76.04			
+	60.23	58.73	72.58	71.23	75.43	80.08			
+	64.47	69.40	78.98	76.70	77.07	NaN			
+	];								
+x.IFMCs= x.IFMCs';									
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/profile_JSAN_R.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,37 @@
+function x = profile_JSAN_R										
+x.BFs= [   										
+	250	500	1000	2000	3000					
+	];									
+x.LongTone= [ 										
+	67.46	56.96	65.02	61.47	73.33					
+	];									
+x.ShortTone= [ 										
+	72.32	63.28	69.04	65.29	76.00					
+	];									
+x.Gaps= [										
+	0.02	0.05	0.08							
+	];									
+x.TMCFreq= [										
+	250	500	1000	2000	3000					
+	];									
+x.TMC= [										
+    84	69	77	75	93
+88	73	81	79	97
+95	79	85	83	98					
+										
+	];									
+x.TMC = x.TMC';										
+x.IFMCFreq= [										
+	250	500	1000	2000	3000					
+	];									
+x.MaskerRatio=[    										
+	0.7	0.9	1	1.1	1.3				
+	];									
+x.IFMCs=[										
+83.1698	77.3165	79.8474	82.9074	82.3294
+80.9667	73.6653	80.9446	80.7005	79.0022
+82.0135	71.2284	78.7345	74.3342	84.126
+79.3348	70.3347	78.5769	79.7274	91.9849
+79.2308	76.3164	83.6881	86.2105	NaN				
+	];									
+x.IFMCs= x.IFMCs';										
--- a/testPrograms/testAN.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/testPrograms/testAN.m	Thu Aug 11 16:52:25 2011 +0100
@@ -136,7 +136,7 @@
     hold on,  bar(PSTHtime,PSTHLSR,'r')
     ylim([0 1000])
     xlim([0 length(PSTH)*localPSTHbinwidth])
-    set(gcf,'name',[num2str(BFlist), ' Hz: ' num2str(leveldB) ' dB']);
+    set(gcf,'name',['PSTH: ' num2str(BFlist), ' Hz: ' num2str(leveldB) ' dB']);
     
     % AN - CV
     %  CV is computed 5 times. Use the middle one (3) as most typical
--- a/testPrograms/testBM.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/testPrograms/testBM.m	Thu Aug 11 16:52:25 2011 +0100
@@ -104,10 +104,15 @@
     end  % level
 
     %% analyses results and plot
+if length(relativeFrequencies)>2
+    maxRows=3;
+else
+    maxRows=2;
+end
 
     % BM I/O plot (top panel)
     figure(3)
-    subplot(3,nBFs,BFno), cla
+    subplot(maxRows,nBFs,BFno), cla
     plot(levels,peakAmpBMdB, 'linewidth',2)
     hold on, plot(levels, repmat(refBMdisplacement,1,length(levels)))
     hold off
@@ -126,7 +131,7 @@
 
     % Tuning curve
     if length(relativeFrequencies)>2
-        figure(3), subplot(3,nBFs, 2*nBFs+BFno)
+        figure(3), subplot(maxRows,nBFs, 2*nBFs+BFno)
         %         contour(stimulusFrequencies,levels,peakAmpBM,...
         %             [refBMdisplacement refBMdisplacement],'r')
         contour(stimulusFrequencies,levels,peakAmpBM,...
@@ -142,7 +147,7 @@
 
     % MOC contribution
     figure(3)
-    subplot(3,nBFs,nBFs+BFno), cla
+    subplot(maxRows,nBFs,nBFs+BFno), cla
     plot(levels,20*log10(peakEfferent), 'linewidth',2)
     ylabel('MOC (dB attenuation)'), xlabel('level')
     title(['peak MOC: model= ' AN_spikesOrProbability])
--- a/testPrograms/testFM.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/testPrograms/testFM.m	Thu Aug 11 16:52:25 2011 +0100
@@ -27,6 +27,7 @@
 
 % masker and probe levels are relative to this threshold
 thresholdAtCF=10; % dB SPL
+maskerLevels=[-80   10 20 30 40 60 ] + thresholdAtCF;
 
 showPSTHs=1;
 
@@ -36,7 +37,6 @@
 % fetch BF from GUI: use only the first target frequency
 maskerFrequency=BFlist;
 maskerDuration=.1;
-maskerLevels=[-80   10 20 30 40 60 ] + thresholdAtCF;
 
 targetFrequency=maskerFrequency;
 probeLeveldB=20+thresholdAtCF;	% H&D use 20 dB SL/ TMC uses 10 dB SL
@@ -139,6 +139,8 @@
 
         inputSignal=...
             [initialSilence maskerPa gap probe finalSilence];
+%         time=dt:dt:length(inputSignal)*dt;
+%         figure(99), plot(time,inputSignal)
 
         % **********************************  run MAP model
 %         showPlotsAndDetails=0;
@@ -150,6 +152,7 @@
             [nFibers c]=size(ANprobRateOutput);
             nLSRfibers=nFibers/length(ANtauCas);
             ANresponse=ANprobRateOutput(end-nLSRfibers:end,:);
+            ANdt=dt; % no adjustment for spikes speedup
         else
             [nFibers c]=size(ANoutput);
             nLSRfibers=nFibers/length(ANtauCas);
@@ -157,6 +160,8 @@
         end
 
         ANresponse=sum(ANresponse)/nLSRfibers;
+%         ANresponseTimes=ANdt:ANdt:length(ANresponse)*ANdt;
+%         figure(99), plot(ANresponseTimes,ANresponse)
 
         % analyse results
         probeStart=initialSilenceDuration+maskerDuration+gapDuration;
@@ -182,9 +187,9 @@
             PSTH=PSTH*ANdt/PSTHbinWidth;
             PSTHplotCount=PSTHplotCount+1;
             subplot(nLevels,nDurations,PSTHplotCount)
-            probeTime=PSTHbinWidth:PSTHbinWidth:...
+            PSTHtime=PSTHbinWidth:PSTHbinWidth:...
                 PSTHbinWidth*length(PSTH);
-            bar(probeTime, PSTH)
+            bar(PSTHtime, PSTH)
             if strcmp(AN_spikesOrProbability, 'spikes')
                 ylim([0 500])
             else
@@ -207,6 +212,9 @@
             if PSTHplotCount<=nDurations
                 title([num2str(1000*gapDurations(PSTHplotCount)) 'ms'])
             end
+
+%         figure(99),            bar(PSTHtime, PSTH)
+
         end % showPSTHs
 
     end     % gapDurations duration
--- a/testPrograms/test_MAP1_14.m	Wed Aug 10 15:39:05 2011 +0100
+++ b/testPrograms/test_MAP1_14.m	Thu Aug 11 16:52:25 2011 +0100
@@ -68,7 +68,7 @@
 
 %% #4 rms level
 % signal details
-leveldBSPL= 20;                  % dB SPL
+leveldBSPL= 50;                  % dB SPL
 
 
 %% #5 number of channels in the model
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utilities/Util_timeStamp.m	Thu Aug 11 16:52:25 2011 +0100
@@ -0,0 +1,16 @@
+function timeStamp=Util_timeStamp
+
+% returns a string showing time now and current date
+% the string should be suitable for creating fileNames
+% i.e. no ':' and no'-' characters
+
+today=date;
+idx=findstr('-',today);
+today(idx)='_';
+
+timeNow=clock;
+timeNow=[num2str(timeNow(4)) ':' num2str(timeNow(5))];
+idx=findstr(':',timeNow);
+timeNow(idx)='_';
+
+timeStamp=[timeNow 'hr' today ];