Module Import alias Import alias Import alias identifier Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str keyword NameLoad keyword Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Assign ListStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd Num Call AttributeLoad NameLoad attr NameLoad Num Call AttributeLoad NameLoad attr NameLoad Num orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd Num Call AttributeLoad NameLoad attr NameLoad Num NameLoad orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd BinOpAdd Num Call AttributeLoad NameLoad attr NameLoad Num NameLoad If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd Num NameLoad orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd Num Call AttributeLoad NameLoad attr NameLoad Num orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore BinOpAdd Num Call AttributeLoad NameLoad attr NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Num Num If CompareNotEq NameLoad NameLoad body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr If BoolOpOr CompareNotEq BinOpMod AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Index Num Num BinOpMod AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Index Num body Raise Str Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMult BinOpAdd NameLoad Num AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Index Num Assign NameStore Call NameLoad BinOpMult BinOpAdd NameLoad Num AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad Index Num Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad ExtSlice Slice Num BinOpAdd BinOpMod BinOpSub NameLoad Num AttributeLoad NameLoad attr Num Slice Num BinOpAdd BinOpMod BinOpSub NameLoad Num AttributeLoad NameLoad attr Num SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Num Slice Slice orelse Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore AttributeStore NameLoad attr NameStore AttributeStore NameLoad attr NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeStore NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list decorator_list
N/A N/A sys N/A tempfile N/A numpy np N/A zlib N/A cStringIO PIL Image N/A pylibmc N/A time N/A restargs N/A ocpcadb N/A ocpcaproj N/A ocpcarest N/A django N/A posix_ipc N/A re ocpca_cy recolor_cy N/A logging N/A logger N/A N/A logging getLogger ocp ColorCatmaid N/A N/A N/A Single-channel false color CATMAID __init__ N/A N/A self N/A N/A N/A Bind the memcache N/A N/A self db None N/A N/A self mc N/A N/A pylibmc Client N/A 127.0.0.1 binary True behaviors N/A tcp_nodelay ketama True True N/A __del__ N/A N/A self N/A N/A N/A N/A loadDB N/A N/A self N/A N/A N/A Load the database if it hasn't been load. N/A N/A N/A self db None N/A N/A N/A N/A self db N/A self proj N/A self projdb N/A N/A ocpcarest loadDBProj N/A self token N/A buildKey N/A N/A self res xtile ytile zslice color brightness N/A N/A N/A N/A N/A color/{}/{}/{}/{}/{}/{}/{}/{}/{} format N/A self token N/A self tilesz N/A self channel res xtile ytile zslice color brightness N/A falseColor N/A N/A self tile color N/A N/A N/A Recolor a tile from 8bit to CMYRGB N/A data32 N/A N/A np uint32 tile N/A N/A N/A color C N/A color cyan N/A N/A fcdata N/A N/A 4278190080 N/A N/A np left_shift data32 8 N/A N/A np left_shift data32 16 N/A N/A N/A N/A color Y N/A color yellow N/A N/A fcdata N/A N/A 4278190080 N/A N/A np left_shift data32 8 data32 N/A N/A N/A N/A color M N/A color magenta N/A N/A fcdata N/A N/A 4278190080 N/A N/A np left_shift data32 16 data32 N/A N/A N/A color R N/A color red N/A N/A fcdata N/A 4278190080 data32 N/A N/A N/A N/A color G N/A color green N/A N/A fcdata N/A 4278190080 N/A N/A np left_shift data32 8 N/A N/A N/A N/A color B N/A color blue N/A N/A fcdata N/A 4278190080 N/A N/A np left_shift data32 16 N/A fcdata N/A tile2WebPNG N/A N/A self tile color brightness N/A N/A N/A Create PNG Images for the specified tile N/A N/A N/A tile dtype N/A np uint16 N/A N/A tile N/A N/A np uint8 N/A tile 256 N/A N/A N/A tile dtype N/A np uint8 N/A N/A N/A Illegal color option for data type %s N/A tile dtype N/A N/A tile N/A N/A self falseColor tile color N/A img N/A N/A Image frombuffer RGBA N/A N/A self tilesz N/A self tilesz N/A N/A tile flatten raw RGBA 0 1 N/A N/A brightness None N/A PIL ImageEnhance N/A enhancer N/A N/A ImageEnhance Brightness img N/A img N/A N/A enhancer enhance brightness N/A img N/A cacheMiss N/A N/A self res xtile ytile zslice color brightness N/A N/A N/A On a miss. Cutout, return the image and load the cache in a background thread N/A N/A N/A self loadDB N/A N/A N/A N/A N/A self tilesz N/A N/A N/A N/A N/A self proj datasetcfg cubedim N/A res N/A 0 0 N/A N/A self tilesz N/A N/A N/A N/A N/A self proj datasetcfg cubedim N/A res N/A 1 N/A N/A Illegal tile size.  Not aligned N/A xstart N/A xtile N/A self tilesz N/A ystart N/A ytile N/A self tilesz N/A xend N/A min N/A N/A xtile 1 N/A self tilesz N/A N/A N/A N/A N/A self proj datasetcfg imagesz N/A res N/A 0 N/A yend N/A min N/A N/A ytile 1 N/A self tilesz N/A N/A N/A N/A N/A self proj datasetcfg imagesz N/A res N/A 1 N/A imageargs N/A N/A {}/{}/{},{}/{},{}/{}/ format N/A self channel res xstart xend ystart yend zslice N/A cb N/A N/A ocpcarest xySlice imageargs N/A self proj N/A self db N/A N/A N/A N/A cb data shape N/A 1 N/A self tilesz N/A self tilesz N/A N/A tiledata N/A N/A np zeros N/A N/A self tilesz N/A self tilesz N/A N/A cb data dtype N/A N/A tiledata N/A N/A 0 N/A N/A N/A yend 1 N/A self tilesz 1 N/A 0 N/A N/A N/A xend 1 N/A self tilesz 1 N/A N/A cb data N/A N/A 0 N/A N/A N/A N/A tiledata N/A cb data N/A N/A N/A self tile2WebPNG tiledata color brightness N/A getTile N/A N/A self webargs N/A N/A N/A Either fetch the file from mocpcache or load a new region into mocpcache by cutout N/A N/A N/A self token tileszstr N/A self channel resstr xtilestr ytilestr zslicestr color brightnessstr rest N/A N/A webargs split / 9 N/A N/A N/A self loadDB N/A N/A closing N/A N/A ocpcaproj OCPCAProjectsDB projdb N/A N/A N/A self proj N/A N/A projdb loadProject N/A self token N/A N/A closing N/A N/A ocpcadb OCPCADB N/A self proj N/A self db N/A N/A xtile N/A int xtilestr N/A ytile N/A int ytilestr N/A res N/A int resstr N/A zslice N/A N/A int zslicestr N/A N/A N/A N/A self proj datasetcfg slicerange N/A 0 N/A N/A self tilesz N/A int tileszstr N/A brightness N/A float brightnessstr N/A mckey N/A N/A self buildKey res xtile ytile zslice color brightness N/A tile N/A N/A N/A self mc get mckey N/A N/A tile None N/A N/A fobj N/A N/A cStringIO StringIO tile N/A N/A img N/A N/A self cacheMiss res xtile ytile zslice color brightness N/A fobj N/A N/A cStringIO StringIO N/A N/A N/A img save fobj PNG N/A N/A N/A N/A self mc set mckey N/A N/A fobj getvalue N/A N/A N/A fobj seek 0 N/A fobj N/A N/A