4Misc_Start4PlatformŸ@ ROGI,,    VT$mH,winspoolFoxit PhantomPDF PrinterFOXIT_PDF:Foxit PhantomPDF PrinterS od,,Letter ROGI,,    VT$mH,winspoolFoxit PhantomPDF PrinterFOXIT_PDF:Foxit PhantomPDF PrinterS od,,Letter ROGI,,   4!*H,winspoolFoxit PhantomPDF PrinterFOXIT_PDF:Foxit PhantomPDF PrinterS od,,Letter  ROGI,,   4!*H,winspoolFoxit PhantomPDF PrinterFOXIT_PDF:Foxit PhantomPDF PrinterS od,,Letter^Graph*@@wwwwww?wwwwww? FWDashSettings#  !{Normal@ Arial<HHHH$${Normal@ Arial<HHHH$$444444 +RNormal@ Arial<HHHH$$4 4 4 4 4 4 NMPathzrdv@C:Program Files (x86):WaveMetrics:Igor Pro Folder:Igor Procedures:Neuromatic_v2_00:C:Program Files (x86):WaveMetrics:Igor Pro Folder:Igor Procedures:Neuromatic_v2_000 8耿wH> HwH> wŠwLjwKwF\!    FXwz)Kw~c~c RecentWindowsAdvanced Topics.ihfAnalysis.ihfBox Plot FormattingCurve Fitting.ihfDemoLoader.ipfDialog Help.ihfErrors.ihfF0 : nm_folder0Graph0:W_Percentile_50,...Graph1:W_Percentile_2_50,...Table0:wave0,wave1,wave2Wave Percentiles 4Misc_EndXOPState_Start`Data Browserype:NMSet;YLabel:TrGizmo / False (0);XLabel:WavPeakFunctions20,0,1920,1080;GBLoadWave @_ \ ProgWinXOP x86Interpolate XLLoadWaveLabel(3)="Event" Surface Plotterqu Xou GISLoadWave@  FindPeaks U O S ReadPclamp_Windows4XOPState_End\ Started NeuroMatic Version 2.00 ShowTools/A arrow ShowTools/A arrow SetDrawEnv fillfgc= (65280,0,0) SetDrawEnv fillfgc= (26112,26112,26112) !e WinGlobals@vFe!y Packagess@vFe!y Configurations@vFe! y FileType x h`NMConfig NeuroMaticons@vFe! y AutoStart?AutoPlotNameFormat?WriteHistory?CmdHistory?ImportPrompt?OverWrite?FileTypecd NMConfigD_AutoStartd Auto-start NM (0) no (1) yesD_AutoPlotd /Auto plot data upon loading file (0) no (1) yesD_NameFormatd #Wave name format (0) short (1) longD_WriteHistoryd ?Analysis history (0) off (1) Igor History (2) notebook (3) bothD_CmdHistoryyd >Command history (0) off (1) Igor History (2) notebook (3) bothD_ImportPromptd Import prompt (0) off (1) onD_OverWriteptd Over-write (0) off (1) onOrderWavesBytd nameD_OrderWavesByd (Order waves by "name" or creation "date"FolderPrefixyd nmD_FolderPrefixd NM folder prefixPrefixListfixd  Record;Avg_;D_PrefixListxd List of wave prefix namesNMTabListstxd Main;Stats;Spike;Event;Fit;D_NMTabListxd List of NM tabsOpenDataPathxd D_OpenDataPathd ,Open data file path (i.e. C:Jason:TestData:)SaveDataPathhd D_SaveDataPathd ,Save data file path (i.e. C:Jason:TestData:) MainMaticons@vFe!x  Bsln_Method?Bsln_BgnBsln_End$@AvgMode@AvgDisplay?AvgChanFlagAskAvgAllGrpsAvgAllGrpsAvgGrpDisplay?SmoothNum?CopyTbgnCopyTendCopySelect?ScaleByNumVal?ScaleByWaveMthdAlignPosTime?AlignInterpFileTypeaPathd NMConfigD_Bsln_Methodd B(1) subtract wave's individual mean (2) subtract mean of all wavesD_Bsln_Bgnodd Baseline window begin (ms)D_Bsln_Endodd Baseline window end (ms)D_AvgModeodd 6(1) mean (2) mean + stdv (3) mean + var (4) mean + semD_AvgDisplayd /display data waves with results? (0) no (1) yesD_AvgChanFlagd +use channel smooth and F(t)? (0) no (1) yesD_AskAvgAllGrpsd 4prompt user for averaging all groups? (0) no (1) yesD_AvgAllGrpspsd "average all groups? (0) no (1) yesD_AvgGrpDisplayd +display groups in same plot? (0) no (1) yesD_SmoothNumlayd %Number of smoothing points/operationsSmoothAlgmlayd binomialD_SmoothAlglayd 2Smoothing algorithm (binomial, boxcar, polynomial)D_CopyTbgnlayd Copy source waves from (msD_CopyTendlayd Copy source waves to (msD_CopySelectayd .Select copied waves as current? (0) no (1) yesScaleByNumAlgyd *D_ScaleByNumAlgd &Scale by number algorithm (*, /, +, -)D_ScaleByNumVald Scale by number valueD_ScaleByWaveMthd 6(0) none (1) scale by wave of values (2) scale by waveScaleByWaveAlghd *D_ScaleByWaveAlg $Scale by wave algorithm (*, /, +, -)D_AlignPosTimeg /Allow only positive time values? (0) no (1) yesD_AlignInterpg :make alignments permanent by interpolation? (0) no (1) yes Statsaticons@vFe!x  AutoPlot?TablesOn?FileTypeterpg NMConfigD_AutoPlotrpg Stats2 auto plot (0) off (1) onD_TablesOnrpg 0Display Stats1 results in tables? (0) no (1) yesAmpColornrpg  65535,0,0D_AmpColorrpg Amp display rgb colorBaseColorrpg  0,39168,0D_BaseColorpg Baseline display rgb colorRiseColorrpg  0,0,65535D_RiseColorpg Rise/decay display rgb color{@3(x ՖՖ AmpSlctx ????x fx Source:AmpSlct Type:NMStats Description:Measurementh; x ՖՖ AmpBx ????x gSource:AmpB Type:NMStats Description:Window begin time (ms)h9`x ՖՖ AmpEx ????@x hSource:AmpE Type:NMStats Description:Window end time (ms)ӶhEx ՖՖ Bflagx ????x iSource:Bflag Type:NMStats Description:Compute baseline (0) no (1) yes@=(x ՖՖ BslnSlctx ????x j x Source:BslnSlct Type:NMStats Description:Baseline measurement}h>`x ՖՖ BslnBx ????x kSource:BslnB Type:NMStats Description:Baseline begin time (ms);h<x ՖՖ BslnEx ????x lSource:BslnE Type:NMStats Description:Baseline end time (ms)XhN x ՖՖ BslnSubtx ????`x mSource:BslnSubt Type:NMStats Description:Baseline auto subtract (0) no (1) yeshRx ՖՖ BslnRflctx ????x nSource:BslnRflct Type:NMStats Description:Baseline reflected window (0) off (1) onh_h8x ՖՖ RiseBPx ????`x o A A A A A A A A A ASource:RiseBP Type:NMStats Description:Rise-time begin %[h6x ՖՖ RiseEPx ????x pBBBBBBBBBBSource:RiseEP Type:NMStats Description:Rise-time end %#h-x ՖՖ DcayPx ????@x qBBBBBBBBBBSource:DcayP Type:NMStats Description:Decay %*hWx ՖՖ dtFlagx ????`x rSource:dtFlag Type:NMStats Description:F(t) (0) none (1) d/dt (2) dd/dt*dt (3) integral'h5x ՖՖ SmthNumx ????x sSource:SmthNum Type:NMStats Description:Smooth numberO@8(x ՖՖ SmthAlgx ????x tx Source:SmthAlg Type:NMStats Description:Smooth algorithm^h= x ՖՖ ChanSelectx ????x uSource:ChanSelect Type:NMStats Description:Channel to analyzeB@\(x ՖՖ OffsetWx ????x vx Source:OffsetW Type:NMStats Description:Offset wave name (/g for group num, /w for wave num) Eventaticons@vFe!x Thrshld@SearchBgnSearchEndBaseFlagBaseWin@BaseDT@OnsetFlag?OnsetWin@OnsetAvg?OnsetNstdv?PeakFlag?PeakWin@PeakAvg?PeakNstdv?DsplyWinI@DsplyFraction?FileTypeNMConfigD_ThrshldThreshold or level valueD_SearchBgnSeach begin time (ms)D_SearchEndSearch end time (ms)D_BaseFlagCompute baseline (0) no (yes) 1D_BaseWinBaseline avg window (ms)D_BaseDT#Mid-base to threshold crossing (ms)D_OnsetFlagCompute onset (0) no (1) yesD_OnsetWinOnset search limit (ms)D_OnsetAvgAvg window (ms)D_OnsetNstdvNum stdv's above avgD_PeakFlagvCompute peak (0) no (1) yesD_PeakWinvPeak search limit (ms)D_PeakAvgvAvg window (ms)D_PeakNstdvNum stdv's above avgD_DsplyWin Channel display window size (ms)D_DsplyFraction0Fraction of display window to view current event NeuroMaticons@vFe!x NMversion@NMOn?AutoStart?AutoPlotProgFlag?OverWrite?WriteHistory?CmdHistory?GroupsOnCascadeImportPrompt?NameFormat?xPixels@yPixels@NMOK?CurrentTabUpdateNMBlockNumFolders?OrderWavesByx h`nameFolderPrefixx h`nmPrefixListxx h` Record;Avg_;NMTabListxx h`Main;Stats;Spike;Event;Fit;OpenDataPathx h`SaveDataPathx h`Computerathx h`pcCurrentFolderx h`root:nm_folder0:MainPrefixerx h`MN_StatsPrefixrx h`ST_SpikePrefixrx h`SP_EventPrefixrx h`EV_FitPrefixxrx h`FT_TabListxxrx h`>Main,MN_;Stats,ST_;Spike,SP_;Event,EV_;Fit,FT_;NMPanel,NM_Tab;CurrentNMTabListh`Main;Stats;Spike;Event;Fit;;:Jx ՖՖրFolderListx ????`x nm_folder0 MainMaticons@vFe!x Bsln_Method?Bsln_BgnBsln_End$@AvgMode@AvgDisplay?AvgChanFlagAskAvgAllGrpsAvgAllGrpsAvgGrpDisplay?SmoothNum?CopyTbgnCopyTendCopySelect?ScaleByNumVal?ScaleByWaveMthdAlignPosTime?AlignInterpSmoothAlgbinomialScaleByNumAlg*ScaleByWaveAlg* Statsaticons@vFe!x  AmpNVAmpBVAmpEVAmpYVAmpXVBslnYVRiseTVFtSmoothNTablesOn?AutoPlot?ST_2AVGST_2SDVST_2SEMST_2CNTAmpYVSWaveAlgBslnXVSaveAlgSmoothAaveAlgAmpColorveAlg 65535,0,0BaseColoreAlg 0,39168,0RiseColoreAlg 0,0,65535ST_2WaveSlctgST_2StrMatchgST_*ST_2MatchSlctStats16J@3(@x ՖՖ AmpSlctx ????`x x Source:AmpSlct Type:NMStats Description:Measurementh; x ՖՖ AmpBx ????x Source:AmpB Type:NMStats Description:Window begin time (ms)$h9`x ՖՖ AmpEx ????x Source:AmpE Type:NMStats Description:Window end time (ms)~hx ՖՖ AmpYx ????}hx ՖՖ AmpXx ????hE@x ՖՖ Bflagx ????`x Source:Bflag Type:NMStats Description:Compute baseline (0) no (1) yesө@=(x ՖՖ BslnSlctx ????x x Source:BslnSlct Type:NMStats Description:Baseline measurementyh> x ՖՖ BslnBx ????x Source:BslnB Type:NMStats Description:Baseline begin time (ms)sh<x ՖՖ BslnEx ????x Source:BslnE Type:NMStats Description:Baseline end time (ms)hN x ՖՖ BslnSubtx ???? x Source:BslnSubt Type:NMStats Description:Baseline auto subtract (0) no (1) yes4hRx ՖՖ BslnRflctx ????x Source:BslnRflct Type:NMStats Description:Baseline reflected window (0) off (1) on^h@x ՖՖ BslnYx ????]h`x ՖՖ BslnXx ????.h8x ՖՖ RiseBPx ???? x  A A A A A A A A A ASource:RiseBP Type:NMStats Description:Rise-time begin %2h6x ՖՖ RiseEPx ????x BBBBBBBBBBSource:RiseEP Type:NMStats Description:Rise-time end %Rhx ՖՖ RiseBXx ????h@x ՖՖ RiseEXx ????hx ՖՖ RiseTmx ????H x ՖՖST_RDYx ????@x ՖՖST_Stats2Wavex ????  Spikeaticons@vFe!x ThreshWinBWinEChanSelectEventsSpikesRatet@ x ՖՖSP_SpikeXx ????R@@x ՖՖSP_SpikeYx ???? Eventaticons@vFe!x !SearchMethod@Thrshld@DsplyWinI@DsplyFraction?SearchFlagSearchBgnSearchEndSearchTimeBaseFlagBaseWin@BaseDT@ThreshXThreshYMatchFlagMatchTau1@MatchTau2@MatchBslnMatchWform @OnsetFlag?OnsetWin@OnsetAvg?OnsetNstdv?OnsetYOnsetXPeakFlag?PeakWin@PeakAvg?PeakNstdv?PeakYPeakXEventNumNumEventsTableNumTemplate Fittaticons@vFe!x d UserInputTbgnTendCursorsFitAutoFitNumPntsMaxIterationsD@SaveFitWaves?FullGraphWidthPrint?WeightStdvFunctionFxnShortEquationFxnListf:Line,n:2;f:Poly,n:3;f:Gauss,n:4;f:Lor,n:4;f:Exp,n:3;f:DblExp,n:5;f:Exp_XOffset,n:3;f:DblExp_XOffset,n:5;f:Sin,n:4;f:HillEquation,n:4;f:Sigmoid,n:4;f:Power,n:3;f:LogNormal,n:4;UserFxnList#f:NMBekkers2,n:8;f:NMBekkers3,n:10;XwavenList WM_WavesPercentileFe!x } &PCWaveSource@PercentileType?PCBoxTopR@PCBoxBottom9@PCWhiskerTopV@PCWhiskerBottom$@PCCheckWhiskerTop?PCCheckWhiskerBottom?PCOutliersMethodPCOutliersPercentile?PCOutliersFactor?PCColoredBoxesCheck?PCBoxFillColorRedj@PCBoxFillColorGreenj@PCBoxFillColorBluej@PCBoxWidth333333?PCBoxFrameThickness?PCBoxFrameColorRedPCBoxFrameColorGreenPCBoxFrameColorBluePCWhiskerCapsPCWhiskerCapWidthPCWhiskerCapThickness?PCWhiskerThickness?PCWhiskerColorRedPCWhiskerColorGreenPCWhiskerColorBluePCMedianLineThickness?PCMedianLineColorRedPCMedianLineColorGreenPCMedianLineColorBluePCOutlierMarker @PCOutlierMarkerSizePCOutlierColorRedPCOutlierColorGreenPCOutlierColorBluePCCheckAppendToGraph?PCNewPercentileGraph@PercentileBaseNameW_Percentile_2PercentileListame0;25;50;75;100PCListExpressionewave*WP_ListOfWavesneTargetGraphNameeGraph0 WindowCoordinatesFe! x uh@x 7OW_windowCoordinates x ????{x BoxPlotFormatting438.75143.75644.25333.5#( nm_folder0inatesFe!x  FileFormat@FileDateTimeFRANumWavesTotalNumWavesSamplesPerWaveSampleInterval?CurrentWaveNumActiveWavesWaveSkip?NumChannelsCurrentChanNumGrpsCurrentGrpSumSet1SumSet2SumSetXV_FlagFileName nm_folder0CurrentFileFileTypeleNMDataAcqModeleFileDateleFri, Feb 9, 2018FileTimele 12:07:49 AMWavePrefixRecordCurrentPrefixxLabelPrefixmsecS_namePrefixGraph1ͤ@x ՖՖWavSelectx ????x All @ x ՖՖChanSelectx ????K@`x ՖՖChanWaveListx ????x [ @x ՖՖyLabelx ????x =@ x ՖՖGroupx ????G@Hx ՖՖSet1x ????`x Source:Set1 Type:NMSet YLabel:True (1) / False (0) XLabel:Wave# WPrefix:ƒ@H`x ՖՖSet2x ????@x Source:Set2 Type:NMSet YLabel:True (1) / False (0) XLabel:Wave# WPrefix:i@T@x ՖՖSetXx ????x Source:SetX Type:NMSet YLabel:True (1) / False (0) XLabel:Wave# WPrefix: Excluding:1]x ז wave0x ????) @\x ז wave1x ????"j;Bc BVosChwBA]x ז wave2x ????mPHעIH ڂXϞ vJ=zE~͋vvLTZF Exj@x TempSortx ???? ڂXmP~͋vvLϞ vJHעIHTZF=zE E x TempMatrixx  ????VosC ڂXBc BmPhwBA~͋vvL"j;Ϟ vJHעIHTZF=zE E:hx TmpPercentilesx ????????? x PCNamesx ????x W_Percentile_2_10W_Percentile_2_25W_Percentile_2_50W_Percentile_2_75W_Percentile_2_90"3DUL`x UUW_Percentile_10x ????u `Lx UUW_Percentile_25x ????u ^‰vL@x UUW_Percentile_50x ????a.?; ¹M>Lx UUW_Percentile_75x ????Nd@01!Lx UUW_Percentile_90x ????Nd@ 6E,oLx UUW_Percentile_Nx ????@@A>L@ x -CW_Percentile_75EBx ???? x `9@$@0@root:nm_folder0:W_Percentile_75-root:nm_folder0:W_Percentile_50?L@x -CW_Percentile_25EBx ???? x `9@p 9@@&Aroot:nm_folder0:W_Percentile_50-root:nm_folder0:W_Percentile_25{9L@@x -CW_Percentile_90EBx ????`x ?`é?root:nm_folder0:W_Percentile_90-root:nm_folder0:W_Percentile_759CL@x -CW_Percentile_10EBx ????`x 3?1 Broot:nm_folder0:W_Percentile_25-root:nm_folder0:W_Percentile_10zTHx W_Percentile_2_10x ????5VHx W_Percentile_2_25x ????^‰vRHx W_Percentile_2_50x ????; ¹MSNHx W_Percentile_2_75x ????016LHx W_Percentile_2_90x ???? 6E,%7H@x W_Percentile_2_Nx ????@A% HD x CW_Percentile_2_75EBx ????x $@0@root:nm_folder0:W_Percentile_2_75-root:nm_folder0:W_Percentile_2_50HD`x CW_Percentile_2_25EBx ????x p 9@@&Aroot:nm_folder0:W_Percentile_2_50-root:nm_folder0:W_Percentile_2_25f HDx CW_Percentile_2_90EBx ????x ?`é?root:nm_folder0:W_Percentile_2_90-root:nm_folder0:W_Percentile_2_75DHD@x CW_Percentile_2_10EBx ????`x 3?1 Broot:nm_folder0:W_Percentile_2_25-root:nm_folder0:W_Percentile_2_10 *Q// Platform=WindowsNT, IGORVersion=6.341, architecture=Intel, systemTextEncoding="Windows-1252", historyTextEncoding="Windows-1252", procwinTextEncoding="Windows-1252" Silent 101 // use | as bitwise or -- not comment. NewPath NMPath "C:Program Files (x86):WaveMetrics:Igor Pro Folder:Igor Procedures:Neuromatic_v2_00:" SetDataFolder root:nm_folder0: DefaultFont "Arial" MoveWindow/P 5.25,43.25,504.75,338 MoveWindow/C 8.25,516.5,750.75,635 NMpanel() BoxPlotFormatting() Table0() WavePercentilePanel() Graph1() Graph0() KillStrings/Z root:gWMSetNextTextFilesTextEncoding Window Graph0() : Graph PauseUpdate; Silent 1 // building window... String fldrSav0= GetDataFolder(1) SetDataFolder root:nm_folder0: Display /W=(37.5,286.25,432,494.75) W_Percentile_50,W_Percentile_50,W_Percentile_75 AppendToGraph W_Percentile_25 SetDataFolder fldrSav0 ModifyGraph mode=2 ModifyGraph lSize=0 ModifyGraph rgb=(0,0,0) ErrorBars/T=0 W_Percentile_50 X,const=0.3 ErrorBars/L=0 W_Percentile_50#1 BOX,const=0.3,wave=(:nm_folder0:W_Percentile_75EB,:nm_folder0:W_Percentile_25EB) ErrorBars/T=0 W_Percentile_75 Y,wave=(:nm_folder0:W_Percentile_90EB,) ErrorBars/T=0 W_Percentile_25 Y,wave=(,:nm_folder0:W_Percentile_10EB) ShowTools/A SetDrawLayer UserAxes SetDrawEnv xcoord= bottom,ycoord= left,linethick= 0 DrawPoly -0.3,3.57771635055542,1,1,{-0.3,3.57771635055542,0.3,3.57771635055542,0.3,-2.21535992622375,-0.3,-2.21535992622375} SetDrawEnv xcoord= bottom,ycoord= left,linethick= 0,fillfgc= (26112,26112,26112) DrawPoly 0.7,-29.2737522125244,1,1,{0.7,-29.2737522125244,1.3,-29.2737522125244,1.3,-38.199577331543,0.7,-38.199577331543} SetDrawEnv xcoord= bottom,ycoord= left,linethick= 0,fillfgc= (0,0,65280) DrawPoly 1.7,-44.3944816589355,1,1,{1.7,-44.3944816589355,2.3,-44.3944816589355,2.3,-61.7095069885254,1.7,-61.7095069885254} SetDrawLayer UserFront SetWindow kwTopWin,note ="BOXWIDTH=0.3;COLOREDBOXES=1;FILLRED=50000;FILLGREEN=50000;FILLBLUE=50000;MEDIANWAVE=root:nm_folder0:W_Percentile_50;BOXTOPWAVE=root:nm_folder0:W_Percentile_75;BOXBOTTOMWAVE=root:nm_folder0:W_Percentile_25;BOXTOPEBWAVE=root:nm_folder0:W_Percentile_75EB;BOXBOTTOMEBWAVE=root:nm_folder0:W_Percentile_25EB;WHISKERTOPEBWAVE=root:nm_fol" SetWindow kwTopWin,note+="der0:W_Percentile_90EB;WHISKERBOTTOMEBWAVE=root:nm_folder0:W_Percentile_10EB;XWAVE=_NONE_;BOXTRACE=W_Percentile_50#1;MEDIANLINETRACE=W_Percentile_50;WHISKERBOTTOMTRACE=W_Percentile_25;WHISKERTOPTRACE=W_Percentile_75;OUTLIERWAVEY=_NONE_;OUTLIERWAVEX=_NONE_;OUTLIERTRACE=_NONE_;FRAMECOLORRED=0;FRAMECOLORGREEN=0;FRAMECOLORBLUE=0;WHI" SetWindow kwTopWin,note+="SKERCOLORRED=0;WHISKERCOLORGREEN=0;WHISKERCOLORBLUE=0;MEDIANLINECOLORRED=0;MEDIANLINECOLORGREEN=0;MEDIANLINECOLORBLUE=0;OUTLIERCOLORRED=0;OUTLIERCOLORGREEN=0;OUTLIERCOLORBLUE=0;BOXFRAMETHICKNESS=1;WHISKERCAPS=0;WHISKERCAPWIDTH=0;WHISKERCAPTHICKNESS=1;WHISKERTHICKNESS=1;MEDIANLINETHICKNESS=1;OUTLIERMARKER=8;OUTLIERMARKERSIZE=0;" EndMacro Window Graph1() : Graph PauseUpdate; Silent 1 // building window... String fldrSav0= GetDataFolder(1) SetDataFolder root:nm_folder0: Display /W=(116.25,117.5,510.75,326) W_Percentile_2_50,W_Percentile_2_50,W_Percentile_2_75 AppendToGraph W_Percentile_2_25 SetDataFolder fldrSav0 ModifyGraph mode=2 ModifyGraph lSize=0 ModifyGraph rgb=(0,0,0) ErrorBars/T=0 W_Percentile_2_50 X,const=0.3 ErrorBars/L=0 W_Percentile_2_50#1 BOX,const=0.3,wave=(:nm_folder0:W_Percentile_2_75EB,:nm_folder0:W_Percentile_2_25EB) ErrorBars/T=0 W_Percentile_2_75 Y,wave=(:nm_folder0:W_Percentile_2_90EB,) ErrorBars/T=0 W_Percentile_2_25 Y,wave=(,:nm_folder0:W_Percentile_2_10EB) ShowTools/A SetDrawLayer UserAxes SetDrawEnv xcoord= bottom,ycoord= left,linethick= 0,fillfgc= (65280,0,0) DrawPoly -0.3,-29.2737522125244,1,1,{-0.3,-29.2737522125244,0.3,-29.2737522125244,0.3,-38.199577331543,-0.3,-38.199577331543} SetDrawEnv xcoord= bottom,ycoord= left,linethick= 0,fillfgc= (26112,26112,26112) DrawPoly 0.7,-44.3944816589355,1,1,{0.7,-44.3944816589355,1.3,-44.3944816589355,1.3,-61.7095069885254,0.7,-61.7095069885254} SetDrawLayer UserFront SetWindow kwTopWin,note ="BOXWIDTH=0.3;COLOREDBOXES=1;FILLRED=50000;FILLGREEN=50000;FILLBLUE=50000;MEDIANWAVE=root:nm_folder0:W_Percentile_2_50;BOXTOPWAVE=root:nm_folder0:W_Percentile_2_75;BOXBOTTOMWAVE=root:nm_folder0:W_Percentile_2_25;BOXTOPEBWAVE=root:nm_folder0:W_Percentile_2_75EB;BOXBOTTOMEBWAVE=root:nm_folder0:W_Percentile_2_25EB;WHISKERTOPEBWAVE=r" SetWindow kwTopWin,note+="oot:nm_folder0:W_Percentile_2_90EB;WHISKERBOTTOMEBWAVE=root:nm_folder0:W_Percentile_2_10EB;XWAVE=_NONE_;BOXTRACE=W_Percentile_2_50#1;MEDIANLINETRACE=W_Percentile_2_50;WHISKERBOTTOMTRACE=W_Percentile_2_25;WHISKERTOPTRACE=W_Percentile_2_75;OUTLIERWAVEY=_NONE_;OUTLIERWAVEX=_NONE_;OUTLIERTRACE=_NONE_;FRAMECOLORRED=0;FRAMECOLORGREEN=" SetWindow kwTopWin,note+="0;FRAMECOLORBLUE=0;WHISKERCOLORRED=0;WHISKERCOLORGREEN=0;WHISKERCOLORBLUE=0;MEDIANLINECOLORRED=0;MEDIANLINECOLORGREEN=0;MEDIANLINECOLORBLUE=0;OUTLIERCOLORRED=0;OUTLIERCOLORGREEN=0;OUTLIERCOLORBLUE=0;BOXFRAMETHICKNESS=1;WHISKERCAPS=0;WHISKERCAPWIDTH=0;WHISKERCAPTHICKNESS=1;WHISKERTHICKNESS=1;MEDIANLINETHICKNESS=1;OUTLIERMARKER=8;" SetWindow kwTopWin,note+="OUTLIERMARKERSIZE=0;" EndMacro Window WavePercentilePanel() : Panel PauseUpdate; Silent 1 // building window... NewPanel /K=1 /W=(735,131,975,581) as "Wave Percentiles" ModifyPanel fixedSize=1 TitleBox PercentileSelectWavesTitle,pos={5,6},size={79,13},title="Select Waves" TitleBox PercentileSelectWavesTitle,fSize=12,frame=0,fStyle=1 TitleBox PercentileWhatToDoTitle,pos={5,94},size={67,13},title="What to do:" TitleBox PercentileWhatToDoTitle,fSize=12,frame=0,fStyle=1 TitleBox PercentileReplicatesAreTitle,pos={30,71},size={68,13},title="Replicates are" TitleBox PercentileReplicatesAreTitle,fSize=10,frame=0 TitleBox PercentileDestinationBaseTitle,pos={5,355},size={136,13},title="Destination Base Name:" TitleBox PercentileDestinationBaseTitle,fSize=12,frame=0,fStyle=1 PopupMenu PCWaveSourceMenu,pos={30,23},size={101,21},proc=PCWaveFromMenuProc PopupMenu PCWaveSourceMenu,mode=3,popvalue="from Top Table",value= #"\"by Name;from Top Graph;from Top Table\"" PopupMenu PCRowsOrColumns,pos={101,68},size={69,21} PopupMenu PCRowsOrColumns,mode=1,popvalue="Columns",value= #"\"Columns;Rows;\"" SetVariable SetPercentileBaseName,pos={29,373},size={140,16},title=" ",fSize=10 SetVariable SetPercentileBaseName,value= root:Packages:WM_WavesPercentile:PercentileBaseName Button PercentileDoItButton,pos={11,394},size={50,22},proc=PercentileDoItButtonProc,title="Do It" Button PercentileHelpButton,pos={176,394},size={50,22},proc=PercentileHelpButtonProc,title="Help" Button PercentileUnloadPackageButton,pos={63,420},size={111,22},proc=UnloadPercentilePackageProc,title="Unload Package" PopupMenu PCTypeMenu,pos={19,111},size={131,21},proc=PCTypeMenuProc PopupMenu PCTypeMenu,mode=1,popvalue="Box and Whisker Plot",value= #"\"Box and Whisker Plot;Calculate Percentiles\"" TitleBox BoxPlotPercentilesTitle,pos={19,138},size={55,13},title="Percentiles:" TitleBox BoxPlotPercentilesTitle,fSize=10,frame=0 SetVariable PCSetBoxTop,pos={31,177},size={123,16},title="Box Top:",fSize=10 SetVariable PCSetBoxTop,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCBoxTop SetVariable PCSetWhiskerTop,pos={47,156},size={133,16},title="Whisker Top:" SetVariable PCSetWhiskerTop,fSize=10 SetVariable PCSetWhiskerTop,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCWhiskerTop SetVariable PCSetBoxBottom,pos={31,198},size={123,16},title="Box Bottom:" SetVariable PCSetBoxBottom,fSize=10 SetVariable PCSetBoxBottom,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCBoxBottom SetVariable PCSetWhiskerBottom,pos={46,219},size={134,16},title="Whisker Bottom:" SetVariable PCSetWhiskerBottom,fSize=10 SetVariable PCSetWhiskerBottom,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCWhiskerBottom CheckBox PCIncludeWhiskerTop,pos={30,158},size={16,14},title="" CheckBox PCIncludeWhiskerTop,variable= root:Packages:WM_WavesPercentile:PCCheckWhiskerTop CheckBox PCIncludeWhiskerBottom,pos={30,220},size={16,14},title="" CheckBox PCIncludeWhiskerBottom,variable= root:Packages:WM_WavesPercentile:PCCheckWhiskerBottom PopupMenu OutlierMethodMenu,pos={18,243},size={108,21},proc=OutliersMethodMenuProc,title="Outliers:" PopupMenu OutlierMethodMenu,fSize=10 PopupMenu OutlierMethodMenu,mode=1,popvalue="_None_",value= #"\"_None_;F*whisker length; < percentile P, > 100-P;F*Interquartile Distance\"" SetVariable PCSetOutliersFactor,pos={70,267},size={64,15},bodyWidth=50,disable=1,title="F:" SetVariable PCSetOutliersFactor,fSize=10 SetVariable PCSetOutliersFactor,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCOutliersFactor SetVariable PCSetOutliersPercentile,pos={71,267},size={64,15},bodyWidth=50,disable=1,title="P:" SetVariable PCSetOutliersPercentile,fSize=10 SetVariable PCSetOutliersPercentile,limits={0,100,1},value= root:Packages:WM_WavesPercentile:PCOutliersPercentile TitleBox BoxPlotXWaveTitle,pos={21,289},size={42,13},title="X Wave:",fSize=10 TitleBox BoxPlotXWaveTitle,frame=0 PopupMenu BoxAndWhiskerXWave,pos={39,304},size={91,21} PopupMenu BoxAndWhiskerXWave,mode=1,popvalue="_Calculated_",value= #"\"_Calculated_;-;\"+WaveList(\"*\",\";\",\"\")" Button PCShowFormattingButton,pos={37,329},size={133,22},proc=ShowBoxPlotFormatPanel,title="Format Options..." SetWindow kwTopWin,hook=WC_WindowCoordinatesHook EndMacro Window Table0() : Table PauseUpdate; Silent 1 // building window... String fldrSav0= GetDataFolder(1) SetDataFolder root:nm_folder0: Edit/W=(5.25,43.25,510,237.5) wave0,wave1,wave2 ModifyTable format(Point)=1 SetDataFolder fldrSav0 EndMacro Window BoxPlotFormatting() : Graph PauseUpdate; Silent 1 // building window... Display /W=(492.75,274.25,698.25,464)/K=2 as "Box Plot Formatting" ModifyGraph wbRGB=(61440,61440,61440),gbRGB=(61440,61440,61440) TextBox/C/N=DisplayOutlierMarker/V=0/D={1,1,0}/H=5/Z=1/A=MC/X=1.50/Y=27.97 "\\Z10\\K(0,0,0)\\W108" TabControl PCFormatTabControl,pos={7,10},size={260,189},proc=PCFormatTabControlProc TabControl PCFormatTabControl,fSize=10,tabLabel(0)="Box" TabControl PCFormatTabControl,tabLabel(1)="Median Line",tabLabel(2)="Whiskers" TabControl PCFormatTabControl,tabLabel(3)="Outliers",value= 0 Button PCFormatDefaultButton,pos={69,166},size={122,22},proc=PCFormatSetDefaults,title="Default Settings" Button PCBoxPlotFormatDoneButton,pos={105,207},size={50,22},proc=PCFormatDoneProc,title="Done" Button PercentileUnloadPackageButton,pos={83,234},size={111,22},proc=UnloadPercentilePackageProc,title="Unload Package" CheckBox ColoredBoxesCheck,pos={29,109},size={62,14},title="Fill Boxes" CheckBox ColoredBoxesCheck,variable= root:Packages:WM_WavesPercentile:PCColoredBoxesCheck PopupMenu PCBoxColorMenu,pos={73,129},size={116,21},proc=PCBoxFillColorMenuProc,title="Box Fill Color:" PopupMenu PCBoxColorMenu,mode=1,popColor= (50000,50000,50000),value= #"\"*COLORPOP*\"" SetVariable PCSetBoxThickness,pos={39,61},size={186,16},bodyWidth=40,title="Box Frame Thickness (points):" SetVariable PCSetBoxThickness,limits={0,inf,1},value= root:Packages:WM_WavesPercentile:PCBoxFrameThickness PopupMenu PCBoxFrameColorMenu,pos={27,83},size={133,21},proc=PCBoxFrameColorMenuProc,title="Box Frame Color:" PopupMenu PCBoxFrameColorMenu,mode=1,popColor= (0,0,0),value= #"\"*COLORPOP*\"" SetVariable PCSetBoxWidth,pos={30,35},size={105,16},title="Box Width:" SetVariable PCSetBoxWidth,limits={0,inf,0.1},value= root:Packages:WM_WavesPercentile:PCBoxWidth SetVariable PCMedianLineThickness,pos={30,61},size={201,15},bodyWidth=40,disable=1,title="Median Line Thickness (points):" SetVariable PCMedianLineThickness,limits={0,inf,1},value= root:Packages:WM_WavesPercentile:PCMedianLineThickness PopupMenu PCMedianLineColorMenu,pos={26,83},size={143,20},disable=1,proc=PCMedianLineColorMenuProc,title="MedianLine Color:" PopupMenu PCMedianLineColorMenu,mode=1,popColor= (0,0,0),value= #"\"*COLORPOP*\"" CheckBox PCWhiskerCapsCheck,pos={18,85},size={123,14},disable=1,title="Add Caps on Whiskers" CheckBox PCWhiskerCapsCheck,variable= root:Packages:WM_WavesPercentile:PCWhiskerCaps SetVariable PCSetWhiskerCapWidth,pos={54,104},size={186,15},bodyWidth=40,disable=1,title="Whisker Cap Width (points):" SetVariable PCSetWhiskerCapWidth,limits={0,inf,1},value= root:Packages:WM_WavesPercentile:PCWhiskerCapWidth TitleBox zeromeansauto,pos={142,120},size={83,12},disable=1,title="(zero means Auto)" TitleBox zeromeansauto,fSize=9,frame=0 SetVariable PCSetWhiskerCapThickness,pos={34,137},size={206,15},bodyWidth=40,disable=1,title="Whisker Cap Thickness (Points):" SetVariable PCSetWhiskerCapThickness,limits={0,inf,1},value= root:Packages:WM_WavesPercentile:PCWhiskerCapThickness SetVariable PCSetWhiskerThickness,pos={19,37},size={140,15},bodyWidth=40,disable=1,title="Whisker Thickness:" SetVariable PCSetWhiskerThickness,limits={0,inf,1},value= root:Packages:WM_WavesPercentile:PCWhiskerThickness PopupMenu PCWhiskerColorMenu,pos={16,59},size={130,20},disable=1,proc=PCWhiskerColorMenuProc,title="Whisker Color:" PopupMenu PCWhiskerColorMenu,mode=1,popColor= (0,0,0),value= #"\"*COLORPOP*\"" PopupMenu PCOutlierColorMenu,pos={25,121},size={125,20},disable=1,proc=PCOutlierColorMenuProc,title="Marker Color:" PopupMenu PCOutlierColorMenu,mode=1,popColor= (0,0,0),value= #"\"*COLORPOP*\"" SetVariable PCSetOutlierMarker,pos={29,44},size={84,15},bodyWidth=40,disable=1,proc=PCChangeOutlierMarkerProc,title="Marker:" SetVariable PCSetOutlierMarker,limits={0,44,1},value= root:Packages:WM_WavesPercentile:PCOutlierMarker Button PCSelectOutlierMarkerButton,pos={173,41},size={80,22},disable=1,proc=PCSelectOutlierMarkerButtonProc,title="Select..." SetVariable PCSetOutlierMarkerSize,pos={29,75},size={120,15},disable=1,proc=PCChangeOutlierMarkerProc,title="Marker Size:" SetVariable PCSetOutlierMarkerSize,limits={0,15,1},value= root:Packages:WM_WavesPercentile:PCOutlierMarkerSize TitleBox Outlierzeromeansauto,pos={50,92},size={83,12},disable=1,title="(zero means Auto)" TitleBox Outlierzeromeansauto,fSize=9,frame=0 SetWindow kwTopWin,hook=WC_WindowCoordinatesHook EndMacro Window NMpanel() : Panel PauseUpdate; Silent 1 // building window... NewPanel /K=1 /W=(1076,58,1376,698) as "F0 : nm_folder0" ModifyPanel cbRGB=(43690,43690,43690) PopupMenu NM_FolderMenu,pos={15,6},size={266,21},bodyWidth=260,proc=NMPopupFolder,title=" " PopupMenu NM_FolderMenu,help={"data folders"},fSize=11 PopupMenu NM_FolderMenu,mode=3,popvalue="F0 : nm_folder0",value= #"UpdateNMFolderMenuStr()" PopupMenu NM_PrefixMenu,pos={45,35},size={136,21},bodyWidth=130,proc=NMPopupPrefix,title=" " PopupMenu NM_PrefixMenu,help={"wave prefix select"},fSize=11 PopupMenu NM_PrefixMenu,mode=1,popvalue="Wave Prefix",value= #"NMPrefixMenuStr()" PopupMenu NM_SetsMenu,pos={196,35},size={85,21},bodyWidth=85,proc=NMPopupSets PopupMenu NM_SetsMenu,help={"Set functions"},fSize=11 PopupMenu NM_SetsMenu,mode=1,popvalue="Sets ",value= #"NMSetsMenu()" PopupMenu NM_GroupMenu,pos={10,64},size={31,21},bodyWidth=20,proc=NMPopupGroups,title="G" PopupMenu NM_GroupMenu,help={"Groups"},fSize=11 PopupMenu NM_GroupMenu,mode=1,popvalue="Groups",value= #"UpdateNMGroupMenuStr()" SetVariable NM_SetWaveNum,pos={89,67},size={55,16},proc=NMSetVariable,title=" " SetVariable NM_SetWaveNum,help={"current wave"},fSize=11 SetVariable NM_SetWaveNum,limits={0,inf,0},value= root:nm_folder0:CurrentWave SetVariable NM_SetGrpNum,pos={120,67},size={55,50},disable=1,proc=NMSetVariable,title="Grp" SetVariable NM_SetGrpNum,help={"current group"},fSize=11 SetVariable NM_SetGrpNum,limits={0,inf,0},value= root:nm_folder0:currentGrp Button NM_JumpBck,pos={61,93},size={20,20},proc=NMButton,title="<" Button NM_JumpBck,help={"last wave"},fSize=14 Button NM_JumpFwd,pos={152,93},size={20,20},proc=NMButton,title=">" Button NM_JumpFwd,help={"next wave"},fSize=14 Slider NM_WaveSlide,pos={85,93},size={61,19},proc=NMWaveSlide Slider NM_WaveSlide,limits={0,-1,1},variable= root:nm_folder0:CurrentWave,side= 2,vert= 0,ticks= 0 PopupMenu NM_SkipMenu,pos={11,92},size={30,21},bodyWidth=20,proc=NMPopupSkip,title="+" PopupMenu NM_SkipMenu,help={"wave increment"},fSize=14 PopupMenu NM_SkipMenu,mode=1,popvalue=" ",value= #"\" ;Wave Increment = 1;Wave Increment > 1;As Wave Select;\"" GroupBox NM_ChanWaveGroup,pos={0,123},size={300,39} GroupBox NM_ChanWaveGroup,labelBack=(43520,48896,65280) PopupMenu NM_ChanMenu,pos={10,132},size={61,21},bodyWidth=45,proc=NMPopupChan,title="Ch" PopupMenu NM_ChanMenu,help={"limit channels to analyze"},fSize=11 PopupMenu NM_ChanMenu,mode=3,popvalue="A",value= #"\"Channel;---;A;\"" PopupMenu NM_WaveMenu,pos={83,132},size={167,21},bodyWidth=130,proc=NMPopupWaveSelect,title="Waves" PopupMenu NM_WaveMenu,help={"limit waves to analyze"},fSize=11 PopupMenu NM_WaveMenu,mode=1,popvalue="All",value= #"UpdateNMWaveSelectStr()" SetVariable NM_WaveCount,pos={255,134},size={40,16},title=" " SetVariable NM_WaveCount,help={"number of currently selected waves"} SetVariable NM_WaveCount,labelBack=(43520,48896,65280),fSize=11,frame=0 SetVariable NM_WaveCount,limits={0,inf,0},value= root:nm_folder0:NumActiveWaves SetVariable NM_Set1Cnt,pos={255,63},size={40,16},title=" " SetVariable NM_Set1Cnt,help={"number of Set1 waves"},fSize=11,frame=0 SetVariable NM_Set1Cnt,limits={0,inf,0},value= root:nm_folder0:SumSet1 SetVariable NM_Set2Cnt,pos={255,81},size={40,16},title=" " SetVariable NM_Set2Cnt,help={"number of Set2 waves"},fSize=11,frame=0 SetVariable NM_Set2Cnt,limits={0,inf,0},value= root:nm_folder0:SumSet2 SetVariable NM_SetXCnt,pos={255,99},size={40,16},title=" " SetVariable NM_SetXCnt,help={"number of SetX waves"},fSize=11,frame=0 SetVariable NM_SetXCnt,limits={0,inf,0},value= root:nm_folder0:SumSetX CheckBox NM_Set1Check,pos={205,65},size={46,14},proc=NMSetsCheckBox,title="Set1 :" CheckBox NM_Set1Check,help={"include in Set1"},fSize=11,value= 0 CheckBox NM_Set2Check,pos={205,83},size={46,14},proc=NMSetsCheckBox,title="Set2 :" CheckBox NM_Set2Check,help={"include in Set2"},fSize=11,value= 0 CheckBox NM_SetXCheck,pos={205,101},size={47,14},proc=NMSetsCheckBox,title="SetX :" CheckBox NM_SetXCheck,help={"exclude from all analyses"},fSize=11,value= 0 TabControl NM_Tab,pos={0,170},size={300,640},proc=NMTabControl TabControl NM_Tab,labelBack=(43690,43690,43690),fSize=11,tabLabel(0)="Main" TabControl NM_Tab,tabLabel(1)="Stats",tabLabel(2)="Spike",tabLabel(3)="Event" TabControl NM_Tab,tabLabel(4)="Fit",value= 0 Button MN_Plot,pos={40,220},size={100,20},proc=MainTabButton,title="Plot" Button MN_Plot,fSize=11 Button MN_Copy,pos={160,220},size={100,20},proc=MainTabButton,title="Copy" Button MN_Copy,fSize=11 Button MN_Baseline,pos={40,265},size={100,20},proc=MainTabButton,title="Baseline" Button MN_Baseline,fSize=11 Button MN_Average,pos={160,265},size={100,20},proc=MainTabButton,title="Average" Button MN_Average,fSize=11 Button MN_YScale,pos={40,310},size={100,20},proc=MainTabButton,title="Scale" Button MN_YScale,fSize=11 Button MN_XAlign,pos={160,310},size={100,20},proc=MainTabButton,title="Align" Button MN_XAlign,fSize=11 Button MN_ReOrder,pos={100,355},size={100,20},proc=MainTabButton,title="Order Waves" Button MN_ReOrder,fSize=11 GroupBox MN_Group,pos={20,395},size={260,130},title="More...",fSize=11 PopupMenu MN_DisplayMenu,pos={41,430},size={100,21},bodyWidth=100,proc=MainTabPopup PopupMenu MN_DisplayMenu,fSize=11 PopupMenu MN_DisplayMenu,mode=1,popvalue="Display",value= #"\"Display;---;Plot ;Table;XLabel;YLabel;Print Names;Print Notes;Order Waves;\"" PopupMenu MN_EditMenu,pos={161,430},size={100,21},bodyWidth=100,proc=MainTabPopup PopupMenu MN_EditMenu,fSize=11 PopupMenu MN_EditMenu,mode=1,popvalue="Edit",value= #"\"Edit;---;Copy;Rename;Kill;\"" PopupMenu MN_TScaleMenu,pos={41,475},size={100,21},bodyWidth=100,proc=MainTabPopup PopupMenu MN_TScaleMenu,fSize=11 PopupMenu MN_TScaleMenu,mode=1,popvalue="Time Scale",value= #"\"Time Scale;---;Align;Time Begin;Time Step;Resample;Decimate;Interpolate;Redimension;XLabel;Xwave;---;Continuous;Episodic;---;sec;msec;usec;\"" PopupMenu MN_FxnMenu,pos={161,475},size={100,21},bodyWidth=100,proc=MainTabPopup PopupMenu MN_FxnMenu,fSize=11 PopupMenu MN_FxnMenu,mode=1,popvalue="Operations",value= #"\"Operations;---;Scale by Num;Scale by Wave;Baseline;Normalize;Smooth;Blank;Integrate;Differentiate;2-Differentiate;Reverse;Sort;Delete NANs;NAN > 0;0 > Nan;---;Average;Sum;Concatenate;2D wave;IV;\"" CheckBox NM_WriteCheck,pos={20,615},size={96,14},proc=NMOverWriteCheckBox,title="OverWrite Mode" CheckBox NM_WriteCheck,help={"overwrite waves and graphs"},fSize=11,value= 1 CheckBox NM_NMOK,pos={160,615},size={103,14},proc=NMAboutCheckBox,title="NeuroMatic v2.00" CheckBox NM_NMOK,help={"About NeuroMatic"},fSize=11,value= 1 SetWindow kwTopWin,hook=NMPanelHook EndMacro u#pragma rtGlobals=3 // Use modern global access method and strict wave access. #include