PNs_gcamp.pro 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. pro PNs_gcamp
  2. common data
  3. common vars
  4. common CFD
  5. common CFDconst
  6. ;tiff: 0,45,2,10,17,21,2,1,7
  7. ;on raw data: 0,45,2,10,15,240,2,1,7,5 does not work yet
  8. ;coordinates: 0,45,2,9,17,21,4,1,7,4
  9. ;New TIFFs : 1,45,2,10,21,33,4,1,7,4,0
  10. ;New coordinates: 1,45,2,9,21,21,4,1,7,4
  11. ;export glomeruli time courses: 0,45,2,11,15,x,4,0,7,0,x,x
  12. ;IN COMMON VARS
  13. colortable = 39;0;43;41 ;45 for TIFF output, 0 for black/white; 37 for blue_black_red_white; 38 for black_red_white
  14. ;set flags here
  15. ;loading the data and calculate signals
  16. flag[view_loadExp] = 3;3;4 ; 0 for old setup, to 1 for Visicam, 2 for confocal
  17. flag[view_CalcMethod] = 3500; 3550: bleachcorrect,excludstim
  18. ;3150: bleachcorrect,excludstim,withinAl
  19. ;3750: bleachcorrect, excludestim, addnoise
  20. ;4950; 3 (original data); 10 for fura ; for bleaching is incluiding in 9 and 10 ;***** normalerweise 7 oder 8, schnelle Berechnung 0
  21. flag[csm_median] = 0; !!!!!!!!!!!!!!!change!!!!!!! 0: no correction, 1: median in space fixed values, 2: space and time fixed values; 3: space and time, using flag values
  22. flag(csm_median_space)= 3
  23. flag(csm_median_time) = 0
  24. flag[csm_movement] = 0; movement correction; 3: to include the movcorr from mathias´ program
  25. flag[CSM_DataShift] = 1 ; shift data instead of mask
  26. flag[le_shrinkFaktor] = 1 ;no shrinkfaktor with 1
  27. flag[RM_separateLayers] = 0 ;separates the layers in exportGlomeruli and SingleOverviews
  28. ;view the data analysis
  29. flag[view_reportMethod] =1003;1003: for mathias´program; 11;10;-1 ; check in subloop.pro
  30. ; 10: TIFF-Ausgabe, 11: Traces-Berechnung, 12 : Movie; 13 : stack of tiff files; 19:CTV + Glodatamix; 14: .RAW; 15: single tiff files
  31. firstframe = 1 ;for movie output
  32. lastframe = 4
  33. ;spacefilter: ft_radius wird nur benutzt, wenn FilterSpaceFlag gesetzt ist
  34. ;der zusätzliche SpaceFilter wird nur ausgeführt, wenn er gt 2 ist.
  35. flag[ft_radius] =3 ; setting 5 gives ca 25microns squares with 20x Obj in traces calculation
  36. FilterSpaceFlag = 0 ;***** normalerweise 1, schnelle Berechnung 0
  37. FilterSpaceSize = 0;***** normalerweise 2, schnelle Berechnung 0
  38. FilterTimeFlag = 0
  39. FilterTimeSize = 0
  40. flag[so_indiScale] = 0;7;1500;1101; 3 ; ShowOverviews : 0:scale according to values in control window
  41. ; 1 = scale each overviewframe to its own min/max
  42. ; 2 = scale to min/max of all
  43. ; 3 to central region of individual frame
  44. ; 5 to selected area of individual frame
  45. ; 2x scales both neg and positive with the same dynamics
  46. ; setting also affects scaling in the movie output, see exprotmovie.pro
  47. ; 7 in export movie: bottom fixed, top in area region
  48. scalemax = 3.000
  49. scalemin = -1.0
  50. flag[rm_fotoOK] =0;1;1;5 ; draw coordinate positions in TIFF output as white squares
  51. flag[so_method] = 0 ; ShowOverviews Method: 1: mittleres Signal wŠhren Stimulus
  52. ;0 for selecting CTV_method in the file CurveToValue.pro in ShowOverviews folder
  53. ;10 for selecting CTV_method in the file Overview10ctv.pro in ShowOverviews folder
  54. ;11 for correlation
  55. flag[RM_differentViews] = 0 ;mirrors right ALs following the name in the list
  56. flag[LE_UseFirstBuffer] = 1;0;
  57. flag[so_morphoBackgr] = 0;150;150
  58. flag[so_morphoBackgrNeg]= 0;95;105
  59. flag[so_withinMask] =0
  60. flag[CTV_scalebar] = 0
  61. flag[LE_StartBackground] = 4; frame where background calculation starts (in general startbackground:stim_on frames are used for background calculation)
  62. flag[LE_PrestimEndBackground] = 0 ;How many frames before stimulus to stop with background. Default: 2
  63. flag[RM_ROITrace] =0
  64. flag[VIEW_ScatterLightFactor] = 1;for the 3xxx and 4xxx family with scattered light correction, this factor gives the strength of the unsharp mask. Default: 1
  65. ; no change flags
  66. CorrectFlag = 0;1;0 ;0:unkorrigiert, 1:luftkorrigiert
  67. flag[macSystem] = 0
  68. flag[view_initCorr] = -1;3;-1;1050;21;21;17 ; initial correction when loading data, -1 (= 15) for no correction at all (save memory)
  69. flag[batchMode] = 1
  70. flag[le_AskForAir] = 0;1;0
  71. flag[trueColour] = 1
  72. flag[rm_plotTrace] = 0;1 ; reportMask, plots traces to screen when set
  73. flag[rm_printAscii] = 0 ; ReportMask,
  74. flag[rm_PrintLine] = 1 ; ReportMask
  75. flag[view_MultiExp] = 0 ; 0 for single experiment
  76. flag[pta_plottimerange] = 0 ; PlotTraceArray if set, takes range from control window
  77. flag[pta_plotMeanValue] = 0 ; PlotTraceArray
  78. ;pfade für Clementina
  79. auswertungMother = 'K:\PNs\'
  80. DatenMother = 'K:\PNs\data\'
  81. ;path settings for all measurements
  82. ;location of the coordinate files
  83. flag[stg_OdorMaskPath] = auswertungMother+ 'IDLcoors\' ;woher kommt die Maske ?
  84. ;path for the .lst files
  85. flag[stg_OdorInfoPath] = auswertungMother+ 'IDLlisten\'
  86. ;ReportPath, place for the IDL output
  87. ;flag[stg_OdorReportPath] = auswertungMother+ 'IDLoutput\' ;wohin soll die Ausgabe ? und pharma (ttx, ptx, etc)
  88. flag[stg_OdorReportPath] = auswertungMother+ '\IDLoutput\' ;for concentration exps
  89. ;flag[stg_OdorReportPath] = 'H:\ana\analysis_LNs\IDLoutput\'; in external hard disk
  90. ;flag[stg_OdorReportPath] = auswertungMother+ 'synII\IDLoutput\' ;for concentration exps
  91. longMeasurements = 1
  92. shortMeasurements = 0
  93. ;one block for each animal follows, with specic settings
  94. IF longMeasurements THEN begin
  95. flag[CTV_method] = -222;-12;-379;50;21;100;21 ;22: take 3 frames aroung lastframe - 3 frames around firstframe
  96. firstframe = 7 ;for movie output
  97. lastframe = 13
  98. average_flag = 0 ; set to 0 for single measurements, 1 for averages, 2 for both
  99. PNs_measu_gcamp, DatenMother ;, average_flag
  100. endIF ;longMeasurements
  101. IF shortMeasurements THEN begin
  102. flag[view_CalcMethod] = 12554; 5 (original data); 10 for fura ; for bleaching is incluiding in 9 and 10 ;***** normalerweise 7 oder 8, schnelle Berechnung 0
  103. firstframe = 1 ;for movie output
  104. lastframe = 4
  105. flag[CTV_method] = 22;50;21;100;21 ;22: take 3 frames aroung lastframe - 3 frames around firstframe
  106. ;flag[CTV_method] = 300;50;21;100;21 ;22: take 3 frames aroung lastframe - 3 frames around firstframe
  107. ;colortable = 0
  108. ;CorrectFlag = 1
  109. endIF ;shortMeasurements
  110. end