Variables
wirecell.validate.cmaps Namespace Reference

Variables

 x = np.arange(0, np.pi, 0.1)
 
 y = np.arange(0, 2*np.pi, 0.1)
 
 X
 
 Y
 
int Z = np.cos(X)*np.sin(Y)*10
 
list colors = [(1, 0, 0), (0, 1, 0), (0, 0, 1)]
 
list n_bins = [3, 6, 10, 100]
 
string cmap_name = 'my_list'
 
 fig
 
 axs
 
 figsize
 
 left
 
 bottom
 
 right
 
 top
 
 wspace
 
 cm
 
 im = ax.imshow(Z, interpolation='nearest', origin='lower', cmap=cm)
 
 ax
 
dictionary cdict1
 
dictionary cdict2
 
dictionary cdict3
 
 cdict4 = cdict3.copy()
 
 blue_red1 = LinearSegmentedColormap('BlueRed1', cdict1)
 
 blue_red2 = LinearSegmentedColormap('BlueRed2', cdict2)
 
 cmap
 
 name
 
 data
 

Variable Documentation

wirecell.validate.cmaps.ax

Definition at line 92 of file cmaps.py.

wirecell.validate.cmaps.axs

Definition at line 83 of file cmaps.py.

wirecell.validate.cmaps.blue_red1 = LinearSegmentedColormap('BlueRed1', cdict1)

Definition at line 154 of file cmaps.py.

wirecell.validate.cmaps.blue_red2 = LinearSegmentedColormap('BlueRed2', cdict2)

Definition at line 161 of file cmaps.py.

wirecell.validate.cmaps.bottom

Definition at line 84 of file cmaps.py.

dictionary wirecell.validate.cmaps.cdict1
Initial value:
1 = {'red': ((0.0, 0.0, 0.0),
2  (0.5, 0.0, 0.1),
3  (1.0, 1.0, 1.0)),
4 
5  'green': ((0.0, 0.0, 0.0),
6  (1.0, 0.0, 0.0)),
7 
8  'blue': ((0.0, 0.0, 1.0),
9  (0.5, 0.1, 0.0),
10  (1.0, 0.0, 0.0))
11  }

Definition at line 97 of file cmaps.py.

dictionary wirecell.validate.cmaps.cdict2
Initial value:
1 = {'red': ((0.0, 0.0, 0.0),
2  (0.5, 0.0, 1.0),
3  (1.0, 0.1, 1.0)),
4 
5  'green': ((0.0, 0.0, 0.0),
6  (1.0, 0.0, 0.0)),
7 
8  'blue': ((0.0, 0.0, 0.1),
9  (0.5, 1.0, 0.0),
10  (1.0, 0.0, 0.0))
11  }

Definition at line 109 of file cmaps.py.

dictionary wirecell.validate.cmaps.cdict3
Initial value:
1 = {'red': ((0.0, 0.0, 0.0),
2  (0.25, 0.0, 0.0),
3  (0.5, 0.8, 1.0),
4  (0.75, 1.0, 1.0),
5  (1.0, 0.4, 1.0)),
6 
7  'green': ((0.0, 0.0, 0.0),
8  (0.25, 0.0, 0.0),
9  (0.5, 0.9, 0.9),
10  (0.75, 0.0, 0.0),
11  (1.0, 0.0, 0.0)),
12 
13  'blue': ((0.0, 0.0, 0.4),
14  (0.25, 1.0, 1.0),
15  (0.5, 1.0, 0.8),
16  (0.75, 0.0, 0.0),
17  (1.0, 0.0, 0.0))
18  }

Definition at line 121 of file cmaps.py.

wirecell.validate.cmaps.cdict4 = cdict3.copy()

Definition at line 142 of file cmaps.py.

wirecell.validate.cmaps.cm
Initial value:
1 = LinearSegmentedColormap.from_list(
2  cmap_name, colors, N=n_bin)

Definition at line 87 of file cmaps.py.

wirecell.validate.cmaps.cmap

Definition at line 162 of file cmaps.py.

string wirecell.validate.cmaps.cmap_name = 'my_list'

Definition at line 82 of file cmaps.py.

list wirecell.validate.cmaps.colors = [(1, 0, 0), (0, 1, 0), (0, 0, 1)]

Definition at line 80 of file cmaps.py.

wirecell.validate.cmaps.data

Definition at line 167 of file cmaps.py.

wirecell.validate.cmaps.fig

Definition at line 83 of file cmaps.py.

wirecell.validate.cmaps.figsize

Definition at line 83 of file cmaps.py.

wirecell.validate.cmaps.im = ax.imshow(Z, interpolation='nearest', origin='lower', cmap=cm)

Definition at line 90 of file cmaps.py.

wirecell.validate.cmaps.left

Definition at line 84 of file cmaps.py.

list wirecell.validate.cmaps.n_bins = [3, 6, 10, 100]

Definition at line 81 of file cmaps.py.

wirecell.validate.cmaps.name

Definition at line 167 of file cmaps.py.

wirecell.validate.cmaps.right

Definition at line 84 of file cmaps.py.

wirecell.validate.cmaps.top

Definition at line 84 of file cmaps.py.

wirecell.validate.cmaps.wspace

Definition at line 84 of file cmaps.py.

wirecell.validate.cmaps.x = np.arange(0, np.pi, 0.1)

Definition at line 72 of file cmaps.py.

wirecell.validate.cmaps.X

Definition at line 74 of file cmaps.py.

wirecell.validate.cmaps.y = np.arange(0, 2*np.pi, 0.1)

Definition at line 73 of file cmaps.py.

wirecell.validate.cmaps.Y

Definition at line 74 of file cmaps.py.

int wirecell.validate.cmaps.Z = np.cos(X)*np.sin(Y)*10

Definition at line 75 of file cmaps.py.