-
Notifications
You must be signed in to change notification settings - Fork 0
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
2 changed files
with
82 additions
and
2 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
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,78 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# @Author: José Sánchez-Gallego ([email protected]) | ||
# @Date: 2023-09-11 | ||
# @Filename: proc.py | ||
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) | ||
|
||
from __future__ import annotations | ||
|
||
from basecam.models import Card, CardGroup | ||
|
||
|
||
ProcCards = CardGroup( | ||
[ | ||
Card( | ||
"TELESCOP", | ||
value="{__exposure__.camera.telescope}", | ||
comment="Telescope that took the image", | ||
), | ||
"CAMNAME", | ||
Card( | ||
"DARKFILE", | ||
value=None, | ||
comment="Associated dark frame", | ||
), | ||
Card( | ||
"DIRNAME", | ||
value=None, | ||
comment="Original file directory", | ||
), | ||
Card( | ||
"GUIDERV", | ||
value="0.0.0", | ||
comment="Version of lvmguider", | ||
), | ||
Card( | ||
"SOURCESF", | ||
value=None, | ||
comment="Sources file", | ||
), | ||
Card( | ||
"PA", | ||
value=None, | ||
comment="[deg] Position angle from WCS", | ||
), | ||
Card( | ||
"ZEROPT", | ||
value=None, | ||
comment="[mag] Zero point of the LVM magnitude", | ||
), | ||
Card( | ||
"ORIGFILE", | ||
value=None, | ||
comment="Original file name", | ||
), | ||
Card( | ||
"REPROC", | ||
value=False, | ||
comment="Has this file been reprocessed?", | ||
), | ||
Card( | ||
"REFFILE", | ||
value=None, | ||
comment="Reference file for astrometric solution", | ||
), | ||
Card( | ||
"SOLVED", | ||
value=False, | ||
comment="Was an astrometric solution found?", | ||
), | ||
Card( | ||
"WCSMODE", | ||
value="none", | ||
comment="Method for fitting the astrometric solution", | ||
), | ||
] | ||
) |