Current data structures: Difference between revisions

From BanghamLab
Jump to navigation Jump to search
(Created page with ' data = PanelH: 0.0339 plotprops: [1x1 struct] cellprops: [1x1 struct] iterations: 0 projectname: 'MT_Edinb_20120427' …')
(No difference)

Revision as of 16:56, 27 April 2012

data = 
            PanelH: 0.0339
         plotprops: [1x1 struct]
         cellprops: [1x1 struct]
        iterations: 0
       projectname: 'MT_Edinb_20120427'
         parentdir: 'C:\MyDocuments2012\Matlab\Microtubules'
       factorprops: [1x1 struct]
    organelleprops: [1x1 struct]
    useoforganelle: [1x1 struct]
        CustomMode: 1
         oldcolour: [0.7020 0.7020 0.7020]
        view_steps: 1
    FlashCollision: 0
           working: [1x1 struct]
   label2organelle: {[]  'nucleus'  'vacuole'  'plasma_membrane'  'cell_wall'  'microtubules'  'actin'}

Cell organisation is specified in

data.cellprops
ans = 
                  shape: 'Sphere'
             sheetmodel: 0
       maxLengthMicrons: 20
         secondsPerStep: 1
    micronsPerVoxelEdge: 0.8000
   cubicMicronsPerVoxel: 0.5120
               cellsize: [25 25 25]
             colourType: 1
                    Vol: [25x25x25 int8]
                 Smooth: 'None'
                dynamic: {1x8 cell}
         bound_distance: 5
       collide_distance: 10
                vacuole: [1x1 struct]
              cell_wall: [1x1 struct]
        plasma_membrane: [1x1 struct]
              cytoplasm: [1x1 struct]
               Diameter: [1x1 struct]
           microtubules: [1x1 struct]
       sheetPlaneNormal: [0 1 0]

Not all organelles may be in use - the InUse flag

data.organelleprops
ans = 
         cell_wall: [1x1 struct]
   plasma_membrane: [1x1 struct]
         cytoplasm: [1x1 struct]
           nucleus: [1x1 struct]
      microtubules: [1x1 struct]
             actin: [1x1 struct]
           vacuole: [1x1 struct]

Factors represent diffusable, reacting solutes. They occupy the volume (after reshaping) with a value >0. The diffusion constants are also per-voxel.

data.factorprops
ans = 
       Name2Index: [0x0 struct]
       Index2Name: []
    Concentration: []
   DiffusionConst: []
            Color: []

plotprops used for GUI and plotting - uihandles probably not used at all in the code. The key handles are

data.PanelH
data.plotprops.AxesH
data.plotprops
ans = 
               markers: 0
                  FigH: 1
   VolViewerFoldername: 'D:\ab\Matlab stuff\VolViewer\WatchedData'
                 AxesH: 287.0339
                TitleH: 288.0339
               XlabelH: 289.0339
               YlabelH: 290.0339
        cameratoolbarH: 291.0339
             uihandles: [1x1 struct]
            axislabels: [1x1 struct]