Difference: LogBookAstronomyEntry0050 (1 vs. 2)

Revision 217 Oct 2014 - JamilehTaaki

Line: 1 to 1

 META TOPICPARENT name="LogBookAstronomy"

Log Book Entry No.50

 Created: 17 Oct 2014 14:43:19 Last Revised: 17 Oct 2014 15:52:41 JamilehTaaki Photometry Darks
Line: 20 to 20
File name CCDImage_Xs_N.fit example of name type, X=exposure time [seconds], N = image number at that exposure
>
>
#------------------------
ipython cheat sheet:
install packages:
pyfits, scipy, numpy, matplotlib
ipython use:
%quickref to access reference, % to exit
pwd & cd work as usual
exit to exit

run ipython with pylab (list of examples below)
#------------------------
ipython --pylab

In [0]: import pyfits
In [1]: f=pyfits.open('test.fit')

In [4]: f[0].data
Out[4]:
array([[ 106., 97., 105., ..., 122., 129., 117.],
[ 113., 115., 116., ..., 125., 120., 123.],
[ 106., 109., 93., ..., 127., 120., 122.],
...,
[ 106., 107., 103., ..., 123., 134., 123.],
[ 99., 107., 106., ..., 121., 121., 123.],
[ 104., 108., 102., ..., 125., 130., 125.]], dtype=float32)

In [5]: imshow(f[0].data)
Out[5]: <matplotlib.image.AxesImage at 0x7f5a13268150>

In [11]: print len(f)
1

In [14]: print numpy.amax(f[0].data) #maximum value
1371.0

In [20]: print f[0].data.mean()
107.114

In [21]: print f[0].data.std()
6.86704

In [17]: print numpy.where(f[0].data>1000) #where(condition)
(array([236]), array([269]))
Back to: LogBookAstronomy

Revision 117 Oct 2014 - HollyPreece

Line: 1 to 1
>
>
 META TOPICPARENT name="LogBookAstronomy"

Log Book Entry No.50

 Created: 17 Oct 2014 14:43:19 Last Revised: 17 Oct 2014 15:52:41 JamilehTaaki Photometry Darks

```<--
Please DO NOT alter or remove the line below this line.
Set EDITMETHOD = wysiwyg

Please DO NOT alter or remove the line above this line.
-->```

Data taken by Holly Preece and Jamila Taaki

Took 70 dark images. 10 each at exposures 1s, 2s, 3s, 10s, 15s,30s, 60s

Stored C:\Users\dome-pc\Desktop\Data\20141017_HP_JT

Temperature set point -10 degrees

Actual temperature between -10.2 and -9.8

File name CCDImage_Xs_N.fit example of name type, X=exposure time [seconds], N = image number at that exposure

Back to: LogBookAstronomy

 META FORM FORM FIELD Subject name="%25SYSTEMWEB%25.LogBookForm" Subject Photometry Darks Status blank Author HollyPreece attachment="20141017_HP_JT.rar" attr="" comment="" date="1413553320" name="20141017_HP_JT.rar" path="20141017_HP_JT.rar" size="81097234" user="zwap060" version="1"

Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback