
file {
	name="/home/epics/devel/areaDetector/ADApp/op/adl/NDStats.adl"
	version=030102
}
display {
	object {
		x=148
		y=62
		width=755
		height=780
	}
	clr=14
	bclr=4
	cmap=""
	gridSpacing=5
	gridOn=0
	snapToGrid=0
}
"color map" {
	ncolors=65
	colors {
		ffffff,
		ececec,
		dadada,
		c8c8c8,
		bbbbbb,
		aeaeae,
		9e9e9e,
		919191,
		858585,
		787878,
		696969,
		5a5a5a,
		464646,
		2d2d2d,
		000000,
		00d800,
		1ebb00,
		339900,
		2d7f00,
		216c00,
		fd0000,
		de1309,
		be190b,
		a01207,
		820400,
		5893ff,
		597ee1,
		4b6ec7,
		3a5eab,
		27548d,
		fbf34a,
		f9da3c,
		eeb62b,
		e19015,
		cd6100,
		ffb0ff,
		d67fe2,
		ae4ebc,
		8b1a96,
		610a75,
		a4aaff,
		8793e2,
		6a73c1,
		4d52a4,
		343386,
		c7bb6d,
		b79d5c,
		a47e3c,
		7d5627,
		58340f,
		99ffff,
		73dfff,
		4ea5f9,
		2a63e4,
		0a00b8,
		ebf1b5,
		d4db9d,
		bbc187,
		a6a462,
		8b8239,
		73ff6b,
		52da3b,
		3cb420,
		289315,
		1a7309,
	}
}
rectangle {
	object {
		x=127
		y=9
		width=500
		height=26
	}
	"basic attribute" {
		clr=2
	}
}
text {
	object {
		x=269
		y=10
		width=216
		height=25
	}
	"basic attribute" {
		clr=54
	}
	textix="$(P)$(R)"
	align="horiz. centered"
}
composite {
	object {
		x=5
		y=40
		width=380
		height=485
	}
	"composite name"=""
	"composite file"="NDPluginBase.adl"
}
rectangle {
	object {
		x=390
		y=40
		width=360
		height=185
	}
	"basic attribute" {
		clr=14
		fill="outline"
	}
}
composite {
	object {
		x=515
		y=44
		width=110
		height=21
	}
	"composite name"=""
	children {
		rectangle {
			object {
				x=515
				y=44
				width=110
				height=21
			}
			"basic attribute" {
				clr=2
			}
		}
		text {
			object {
				x=518
				y=44
				width=103
				height=20
			}
			"basic attribute" {
				clr=54
			}
			textix="Statistics"
			align="horiz. centered"
		}
	}
}
menu {
	object {
		x=584
		y=72
		width=60
		height=18
	}
	control {
		chan="$(P)$(R)ComputeStatistics"
		clr=14
		bclr=51
	}
}
"text update" {
	object {
		x=650
		y=72
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)ComputeStatistics_RBV"
		clr=54
		bclr=12
	}
	clrmod="alarm"
	limits {
	}
}
text {
	object {
		x=395
		y=71
		width=180
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Compute statistics"
}
composite {
	object {
		x=414
		y=96
		width=325
		height=20
	}
	"composite name"=""
	children {
		text {
			object {
				x=414
				y=96
				width=160
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Background width"
			align="horiz. right"
		}
		"text entry" {
			object {
				x=583
				y=96
				width=60
				height=20
			}
			control {
				chan="$(P)$(R)BgdWidth"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		"text update" {
			object {
				x=649
				y=97
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)BgdWidth_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
	}
}
text {
	object {
		x=405
		y=121
		width=70
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Minimum"
	align="horiz. right"
}
"text update" {
	object {
		x=479
		y=122
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)MinValue_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
text {
	object {
		x=423
		y=146
		width=50
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Total"
	align="horiz. right"
}
"text update" {
	object {
		x=479
		y=147
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)Total_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
text {
	object {
		x=435
		y=171
		width=40
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Mean"
	align="horiz. right"
}
"text update" {
	object {
		x=479
		y=172
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)MeanValue_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
text {
	object {
		x=575
		y=121
		width=70
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Maximum"
	align="horiz. right"
}
"text update" {
	object {
		x=649
		y=122
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)MaxValue_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
text {
	object {
		x=613
		y=146
		width=30
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Net"
	align="horiz. right"
}
"text update" {
	object {
		x=649
		y=147
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)Net_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
text {
	object {
		x=605
		y=171
		width=40
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Sigma"
	align="horiz. right"
}
"text update" {
	object {
		x=649
		y=172
		width=90
		height=18
	}
	monitor {
		chan="$(P)$(R)Sigma_RBV"
		clr=54
		bclr=4
	}
	limits {
	}
}
composite {
	object {
		x=390
		y=595
		width=360
		height=180
	}
	"composite name"=""
	children {
		rectangle {
			object {
				x=517
				y=597
				width=107
				height=21
			}
			"basic attribute" {
				clr=2
			}
		}
		text {
			object {
				x=520
				y=597
				width=100
				height=20
			}
			"basic attribute" {
				clr=54
			}
			textix="Histogram"
			align="horiz. centered"
		}
		menu {
			object {
				x=586
				y=625
				width=60
				height=18
			}
			control {
				chan="$(P)$(R)ComputeHistogram"
				clr=14
				bclr=51
			}
		}
		text {
			object {
				x=465
				y=624
				width=110
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Compute histogram?"
			align="horiz. right"
		}
		"text entry" {
			object {
				x=586
				y=649
				width=60
				height=20
			}
			control {
				chan="$(P)$(R)HistSize"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		text {
			object {
				x=505
				y=649
				width=70
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Size"
			align="horiz. right"
		}
		"text entry" {
			object {
				x=586
				y=674
				width=60
				height=20
			}
			control {
				chan="$(P)$(R)HistMin"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		text {
			object {
				x=505
				y=674
				width=70
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Minimum"
			align="horiz. right"
		}
		"text entry" {
			object {
				x=586
				y=699
				width=60
				height=20
			}
			control {
				chan="$(P)$(R)HistMax"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		text {
			object {
				x=505
				y=699
				width=70
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Maximum"
			align="horiz. right"
		}
		"text update" {
			object {
				x=586
				y=725
				width=61
				height=18
			}
			monitor {
				chan="$(P)$(R)HistEntropy_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=475
				y=724
				width=100
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Entropy"
			align="horiz. right"
		}
		rectangle {
			object {
				x=390
				y=595
				width=360
				height=180
			}
			"basic attribute" {
				clr=14
				fill="outline"
			}
		}
		"text update" {
			object {
				x=653
				y=625
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)ComputeHistogram_RBV"
				clr=54
				bclr=12
			}
			clrmod="alarm"
			limits {
			}
		}
		"text update" {
			object {
				x=653
				y=650
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)HistSize_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		"text update" {
			object {
				x=653
				y=675
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)HistMin_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		"text update" {
			object {
				x=653
				y=700
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)HistMax_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		composite {
			object {
				x=535
				y=749
				width=111
				height=20
			}
			"composite name"=""
			children {
				"related display" {
					object {
						x=586
						y=749
						width=60
						height=20
					}
					display[0] {
						label="netCDF file #1"
						name="NDPlot.adl"
						args="P=$(P),R=$(R),DATA=Histogram_RBV,TITLE=Histogram,XLABEL=Bin Number,YLABEL=Counts"
					}
					clr=14
					bclr=51
				}
				text {
					object {
						x=535
						y=749
						width=40
						height=20
					}
					"basic attribute" {
						clr=14
					}
					textix="Plot"
				}
			}
		}
	}
}
rectangle {
	object {
		x=390
		y=390
		width=360
		height=200
	}
	"basic attribute" {
		clr=14
		fill="outline"
	}
}
composite {
	object {
		x=405
		y=471
		width=339
		height=87
	}
	"composite name"=""
	children {
		text {
			object {
				x=405
				y=493
				width=170
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Cursor X"
			align="horiz. right"
		}
		valuator {
			object {
				x=584
				y=493
				width=160
				height=20
			}
			control {
				chan="$(P)$(R)CursorX"
				clr=54
				bclr=51
			}
			dPrecision=1.000000
			limits {
			}
		}
		"text entry" {
			object {
				x=584
				y=471
				width=60
				height=19
			}
			control {
				chan="$(P)$(R)CursorX"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		"text update" {
			object {
				x=649
				y=471
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)CursorX_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=405
				y=538
				width=170
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Cursor Y"
			align="horiz. right"
		}
		valuator {
			object {
				x=584
				y=538
				width=160
				height=20
			}
			control {
				chan="$(P)$(R)CursorY"
				clr=54
				bclr=51
			}
			dPrecision=1.000000
			limits {
			}
		}
		"text entry" {
			object {
				x=584
				y=516
				width=60
				height=19
			}
			control {
				chan="$(P)$(R)CursorY"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		"text update" {
			object {
				x=649
				y=516
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)CursorY_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
	}
}
composite {
	object {
		x=395
		y=421
		width=345
		height=20
	}
	"composite name"=""
	children {
		menu {
			object {
				x=584
				y=422
				width=60
				height=18
			}
			control {
				chan="$(P)$(R)ComputeProfiles"
				clr=14
				bclr=51
			}
		}
		"text update" {
			object {
				x=650
				y=422
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)ComputeProfiles_RBV"
				clr=54
				bclr=12
			}
			clrmod="alarm"
			limits {
			}
		}
		text {
			object {
				x=395
				y=421
				width=180
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Compute profiles"
			align="horiz. right"
		}
	}
}
composite {
	object {
		x=394
		y=446
		width=346
		height=20
	}
	"composite name"=""
	children {
		text {
			object {
				x=394
				y=446
				width=100
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Size X"
			align="horiz. right"
		}
		"text update" {
			object {
				x=498
				y=447
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)ProfileSizeX_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		"text update" {
			object {
				x=650
				y=447
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)ProfileSizeY_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=614
				y=446
				width=30
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Y"
			align="horiz. right"
		}
	}
}
rectangle {
	object {
		x=515
		y=395
		width=110
		height=21
	}
	"basic attribute" {
		clr=2
	}
}
text {
	object {
		x=518
		y=395
		width=103
		height=20
	}
	"basic attribute" {
		clr=54
	}
	textix="Profiles"
	align="horiz. centered"
}
composite {
	object {
		x=390
		y=230
		width=360
		height=155
	}
	"composite name"=""
	children {
		text {
			object {
				x=394
				y=311
				width=100
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Centroid X"
			align="horiz. right"
		}
		"text update" {
			object {
				x=498
				y=312
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)CentroidX_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		"text update" {
			object {
				x=650
				y=312
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)CentroidY_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=614
				y=311
				width=30
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Y"
			align="horiz. right"
		}
		"text update" {
			object {
				x=650
				y=337
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)SigmaY_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=614
				y=336
				width=30
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Y"
			align="horiz. right"
		}
		menu {
			object {
				x=584
				y=262
				width=60
				height=18
			}
			control {
				chan="$(P)$(R)ComputeCentroid"
				clr=14
				bclr=51
			}
		}
		"text update" {
			object {
				x=650
				y=262
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)ComputeCentroid_RBV"
				clr=54
				bclr=12
			}
			clrmod="alarm"
			limits {
			}
		}
		text {
			object {
				x=395
				y=261
				width=180
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Compute centroid"
			align="horiz. right"
		}
		composite {
			object {
				x=515
				y=235
				width=110
				height=21
			}
			"composite name"=""
			children {
				rectangle {
					object {
						x=515
						y=235
						width=110
						height=21
					}
					"basic attribute" {
						clr=2
					}
				}
				text {
					object {
						x=518
						y=235
						width=103
						height=20
					}
					"basic attribute" {
						clr=54
					}
					textix="Centroid"
					align="horiz. centered"
				}
			}
		}
		text {
			object {
				x=405
				y=286
				width=170
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Centroid threshold"
			align="horiz. right"
		}
		"text entry" {
			object {
				x=584
				y=287
				width=60
				height=19
			}
			control {
				chan="$(P)$(R)CentroidThreshold"
				clr=14
				bclr=51
			}
			limits {
			}
		}
		"text update" {
			object {
				x=650
				y=287
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)CentroidThreshold_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		rectangle {
			object {
				x=390
				y=230
				width=360
				height=155
			}
			"basic attribute" {
				clr=14
				fill="outline"
			}
		}
		composite {
			object {
				x=424
				y=336
				width=164
				height=20
			}
			"composite name"=""
			children {
				"text update" {
					object {
						x=498
						y=337
						width=90
						height=18
					}
					monitor {
						chan="$(P)$(R)SigmaX_RBV"
						clr=54
						bclr=4
					}
					limits {
					}
				}
				text {
					object {
						x=424
						y=336
						width=70
						height=20
					}
					"basic attribute" {
						clr=14
					}
					textix="Sigma X"
					align="horiz. right"
				}
			}
		}
		"text update" {
			object {
				x=498
				y=362
				width=90
				height=18
			}
			monitor {
				chan="$(P)$(R)SigmaXY_RBV"
				clr=54
				bclr=4
			}
			limits {
			}
		}
		text {
			object {
				x=424
				y=361
				width=70
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Sigma XY"
			align="horiz. right"
		}
	}
}
composite {
	object {
		x=535
		y=563
		width=111
		height=20
	}
	"composite name"=""
	children {
		"related display" {
			object {
				x=586
				y=563
				width=60
				height=20
			}
			display[0] {
				label="Average X"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileAverageX_RBV,TITLE=AverageX,XLABEL=Pixel,YLABEL=Counts"
			}
			display[1] {
				label="Average Y"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileAverageY_RBV,TITLE=AverageY,XLABEL=Pixel,YLABEL=Counts"
			}
			display[2] {
				label="Threshold X"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileThresholdX_RBV,TITLE=ThresholdX,XLABEL=Pixel,YLABEL=Counts"
			}
			display[3] {
				label="Threshold Y"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileThresholdY_RBV,TITLE=ThresholdY,XLABEL=Pixel,YLABEL=Counts"
			}
			display[4] {
				label="Centroid X"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileCentroidX_RBV,TITLE=CentroidX,XLABEL=Pixel,YLABEL=Counts"
			}
			display[5] {
				label="Centroid Y"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileCentroidY_RBV,TITLE=CentroidY,XLABEL=Pixel,YLABEL=Counts"
			}
			display[6] {
				label="Cursor X"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileCursorX_RBV,TITLE=CursorX,XLABEL=Pixel,YLABEL=Counts"
			}
			display[7] {
				label="Cursor Y"
				name="NDPlot.adl"
				args="P=$(P),R=$(R),DATA=ProfileCursorY_RBV,TITLE=CursorY,XLABEL=Pixel,YLABEL=Counts"
			}
			clr=14
			bclr=51
		}
		text {
			object {
				x=535
				y=563
				width=40
				height=20
			}
			"basic attribute" {
				clr=14
			}
			textix="Plot"
		}
	}
}
"related display" {
	object {
		x=586
		y=197
		width=60
		height=20
	}
	display[0] {
		label="Total MCA"
		name="mca.adl"
		args="P=$(P),M=$(R)TotalArray"
	}
	display[1] {
		label="Net MCA"
		name="mca.adl"
		args="P=$(P),M=$(R)NetArray"
	}
	clr=14
	bclr=51
}
text {
	object {
		x=535
		y=197
		width=40
		height=20
	}
	"basic attribute" {
		clr=14
	}
	textix="Plot"
}
