-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.py
35 lines (31 loc) · 799 Bytes
/
Config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- coding: utf-8 -*-
'''
This file contains the initial assumptions
passed throughout the analysis
'''
import logging
from numpy import pi
from AstErrors import NGTSDetector
logging.basicConfig(level=logging.INFO)
_detector = NGTSDetector()
Gain = 2.9
HorizontalSpeed = _detector.horizspeed
VerticalTime = _detector.verttime
NAXIS1, NAXIS2 = _detector.ccdsize
ReadTime = _detector.readTime()
ReadNoise = 12. # e- per pix
FWHM = 1.6
Radius = 1.5 * FWHM # pixels
Area = pi * Radius**2
BiasLevelADU = 1300 # ADU
BiasLevel = BiasLevelADU * Gain
Digitisation = 16
ElectronicSatur = ((2**Digitisation - 1)) * Area
TargetBinTime = 3600.
FullWellDepth = 107E3
FieldCentre = [(60., -45.), (180., -45.), (300., -45.)]
PixScale = 4.97
SkyLevel = {
'dark': 20.,
'bright': 150.,
}