HOW TO Trend analysis HOW TO perform a trend analysis

Reviews
Shared by: crawford hanes
Stats
views:
182
rating:
not rated
reviews:
0
posted:
1/17/2009
language:
English
pages:
0
0.1 HOW-TO: Trend analysis 0.1 0.1.1 HOW-TO perform a trend analysis and to find outliers Summary This HOW-TO shows how one can do a simple database trend analysis from the awe-prompt. In general to get to a result you need to do the following steps: • Which quantities do you want to do a trendanalysis on? Determine which classes and attributes of objects in AWE are needed to get the desired information for those quantities. • Construct the database query/queries required to get the desired information. • Make a plot of the desired information to graphically detect outliers. • Refine the constraints in the query to encompass only outliers. • Retrieve the outlying objects and inspect them. 0.1.2 Examples Question 1: Make a plot of the bias level of all raw biases of a CCD as a function of modified julian date of observation. Answer 1: awe> awe> awe> awe> awe> q = (RawBiasFrame.chip.name == ’ccd50’) biases = list(q) x = [b.MJD_OBS for b in biases] y = [b.imstat.median for b in biases] pylab.scatter(x,y,s=0.5) This results in the plot in figure 0.1.2 (zoomed, labels added). Question 2: Look for raw biases for ccd50 (WFI) in 2004 for which the level of the trim section differs significantly from the level of the overscan. Answer 2: awe> awe> 419 awe> awe> awe> awe> q = (RawBiasFrame.filename.like(’WFI.2004*_1.fits’)) len(q) biases = list(q) x = [b.MJD_OBS for b in biases] y = [b.imstat.median-b.overscan_x_stat.median for b in biases] pylab.scatter(x,y,s=0.5) This produces a plot as in figure 0.1.2.You can see that there seems to be one case where the difference is 5 ADU. This image will be interesting to look at. We can select it as follows: awe> frames = [b for b in biases if b.imstat.median-b.overscan_x_stat.median > 4] awe> len(frames) 2 awe> for f in frames: print f.filename ... WFI.2004-10-15T15:10:02.248_1.fits WFI.2004-10-15T15:11:52.384_1.fits awe> for f in frames: f.retrieve() ... 1 0.1 HOW-TO: Trend analysis Figure 1: Trend analysis: bias level for all raw biases of CCD against modified julian date of observation It turns out there are in fact two frames of this kind. The images seem to have an uncharacteristic bright region in them; something was obviously wrong during these observations. 2 0.1 HOW-TO: Trend analysis Figure 2: Trend analysis: trend of raw bias level in trim section minus the level in the overscan X region. The difference is plotted as a function of modified julian date of observation. 3

Related docs
Trend Analysis
Views: 777  |  Downloads: 94
Trend Analysis
Views: 114  |  Downloads: 0
trend analysis
Views: 413  |  Downloads: 13
Socioeconomic Trend Analysis
Views: 76  |  Downloads: 2
How to Perform SWOT Analysis
Views: 152  |  Downloads: 17
Trend Analysis
Views: 0  |  Downloads: 0
Forecasting using trend analysis
Views: 889  |  Downloads: 18
Trend analysis of human activity data
Views: 6  |  Downloads: 4
premium docs
Other docs by crawford hanes
Here in this Place
Views: 247  |  Downloads: 0
Grade 8 Science Russian Glossary
Views: 952  |  Downloads: 13
The Psychology of False Confessions
Views: 875  |  Downloads: 51
A Mighty Fortress
Views: 164  |  Downloads: 1
de150
Views: 97  |  Downloads: 0
dv150k
Views: 91  |  Downloads: 0
dv130
Views: 102  |  Downloads: 0
It is the Cry of My Heart
Views: 192  |  Downloads: 0
We Shall Assemble
Views: 172  |  Downloads: 3
Bankruptcy proceedings representation
Views: 291  |  Downloads: 4
How Deep the Father s Love
Views: 251  |  Downloads: 2
Marshall v Purolator
Views: 217  |  Downloads: 0
NORTHROP CORP v Litronic Industries
Views: 679  |  Downloads: 1
Default clauses in note
Views: 223  |  Downloads: 1