-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
""" | ||
Personal Photometry Pipeline Configuation File | ||
2016-11-01, mommermiscience@gmail.com | ||
""" | ||
|
||
# Photometry Pipeline | ||
# Copyright (C) 2016-2018 Michael Mommert, mommermiscience@gmail.com | ||
|
||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
|
||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
|
||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see | ||
# <http://www.gnu.org/licenses/>. | ||
|
||
# telescope/instrument configurations | ||
|
||
# MYTELESCOPE setup parameters | ||
mytelescope_param = { | ||
'telescope_instrument': 'Telescope/Instrument', # telescope/instrument name | ||
'telescope_keyword': 'mytelescope', # telescope/instrument keyword | ||
'observatory_code': '695', # MPC observatory code | ||
'secpix': (0.1, 0.1), # pixel size (arcsec) before binning | ||
|
||
# image orientation preferences | ||
'flipx': True, | ||
'flipy': False, | ||
'rotate': 0, | ||
|
||
# instrument-specific FITS header keywords | ||
'binning': ('CCDBIN1', 'CCDBIN2'), # binning in x/y | ||
'extent': ('NAXIS1', 'NAXIS2'), # N_pixels in x/y | ||
'ra': 'RA', # telescope pointing, RA | ||
'dec': 'DEC', # telescope pointin, Dec | ||
'radec_separator': ':', # RA/Dec hms separator, use 'XXX' | ||
# if already in degrees | ||
'date_keyword': 'DATE-OBS', # obs date/time | ||
# keyword; use | ||
# 'date|time' if | ||
# separate | ||
'obsmidtime_jd': 'MJD-OBS', # obs midtime jd keyword | ||
# (usually provided by | ||
# pp_prepare | ||
'object': 'OBJECT', # object name keyword | ||
'filter': 'FILTER', # filter keyword | ||
'filter_translations': {'g stuff': 'g'}, | ||
# filtername translation dictionary | ||
'exptime': 'EXPTIME', # exposure time keyword (s) | ||
'airmass': 'AIRMASS', # airmass keyword | ||
|
||
# source extractor settings | ||
'source_minarea': 12, # default sextractor source minimum N_pixels | ||
'source_snr': 3, # default sextractor source snr for registration | ||
'aprad_default': 5, # default aperture radius in px | ||
'aprad_range': [2, 10], # [minimum, maximum] aperture radius (px) | ||
'sex-config-file': rootpath + '/setup/mytelescope.sex', | ||
'mask_file': {}, | ||
# mask files as a function of x,y binning | ||
|
||
# scamp settings | ||
'scamp-config-file': rootpath + '/setup/mytelescope.scamp', | ||
'reg_max_mag': 19, | ||
'reg_search_radius': 0.5, # deg | ||
'source_tolerance': 'high', | ||
|
||
# default catalog settings | ||
'astrometry_catalogs': ['GAIA'], | ||
'photometry_catalogs': ['SDSS-R9', 'APASS9', '2MASS'] | ||
} | ||
|
||
# add telescope configurations to 'official' telescopes.py | ||
|
||
implemented_telescopes.append('MYTELESCOPE') | ||
|
||
# translate INSTRUME (or others, see _pp_conf.py) header keyword into | ||
# PP telescope keyword | ||
# example: INSTRUME keyword in header is 'mytel' | ||
instrument_identifiers['instrume_identifier'] = 'MYTELESCOPE' | ||
|
||
# translate telescope keyword into parameter set defined here | ||
telescope_parameters['MYTELESCOPE'] = mytelescope_param |