1
1
.. |License | image :: https://img.shields.io/github/license/LowellObservatory/LDTObserverTools
2
2
:target: https://github.com/LowellObservatory/LDTObserverTools/blob/main/LICENSE
3
3
4
- .. |astropy | image :: http ://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
5
- :target: http ://www.astropy.org/
4
+ .. |astropy | image :: https ://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
5
+ :target: https ://www.astropy.org/
6
6
7
7
.. |forks | image :: https://img.shields.io/github/forks/LowellObservatory/LDTObserverTools?style=social
8
8
:target: https://github.com/LowellObservatory/LDTObserverTools
9
9
10
+ .. |issues | image :: https://img.shields.io/github/issues/LowellObservatory/LDTObserverTools?style=social
11
+ :target: https://github.com/LowellObservatory/LDTObserverTools
12
+
10
13
.. |stars | image :: https://img.shields.io/github/stars/LowellObservatory/LDTObserverTools?style=social
11
14
:target: https://github.com/LowellObservatory/LDTObserverTools
12
15
@@ -30,10 +33,18 @@ LDTObserverTools |forks| |stars| |watch|
30
33
|github | |astropy | |License |
31
34
32
35
33
- **Version **: |version |
36
+ The LDTObserverTools package is a collection of command-line and GUI tools
37
+ for observers at the Lowell Discovery Telescope (LDT) in Happy Jack, AZ.
34
38
35
- LDTObserverTools is a collection of command-line and GUI tools for observers at
36
- the Lowell Discovery Telescope (LDT) in Happy Jack, AZ.
39
+ Some of these tools are Python ports of existing tools written in other
40
+ languages, and others are newly written to meet particular needs of the
41
+ observing community. Detailed instructions on how to use each tool are
42
+ contained in the `online documentation
43
+ <https://lowellobservatory.github.io/LDTObserverTools/> `__. Please use
44
+ the GitHub `Issues
45
+ <https://github.com/LowellObservatory/LDTObserverTools/issues> `__ and/or
46
+ `Pull Requests <https://github.com/LowellObservatory/LDTObserverTools/pulls >`__
47
+ features to report bugs or suggest new tools and features.
37
48
38
49
.. contents :: Table of Contents
39
50
:depth: 1
@@ -51,81 +62,28 @@ List of Programs
51
62
Tools Contained in this Package:
52
63
--------------------------------
53
64
54
- - ``deveny_grangle ``: Compute the desired grating angle based on selected
55
- grating and desired central wavelength. This routine comes with two interfaces.
56
- The default GUI features a dropdown menu for grating selection and contains error
57
- checking on the input for central wavelength. There is a ``MAX_GUI `` option for
58
- computing central wavelength given the grating angle in addition to the standard
59
- GUI features. Also included is a command-line interface, identical to the old
60
- IDL function. Online help is available with the ``-h `` option.
61
- [`Completed: 2021-01-26 `]
62
-
63
- - ``dfocus ``: Compute the needed collimator focus based on a series of arc line
64
- frames taken at various collimator settings. Read in the arc lamp frames in
65
- the current night's focus directory, find the appropriate spectral lines in each
66
- frame, compute the FHWM (or other measure) of those lines, plot the FHWM as a
67
- function of collimator position and suggest the optimal focus position. This
68
- program is executed identically to the old IDL version. The python version
69
- uses :obj: `scipy.signal ` processing routines for identifying line peaks and widths,
70
- resulting in more accurate and consistent estimates of the correct collimator
71
- focus position. Rather than separately producing plots to the screen and disk,
72
- this version writes all plots to a PDF, then launches ``Preview.app `` to display
73
- the plots on the screen. Newly added is a readout of the mount temperature so
74
- the user can determine when/if the collimator needs to be refocused during the
75
- night. Online help is available with the ``-h `` option. [`Completed: 2021-11-19 `]
76
-
77
- - ``fix_ldt_header ``: Replace / add / update FITS keyword values. While named for
78
- the LDT, it can beused with any FITS file (or list of files). The inspiration for
79
- this script is the cases when the LDT / LOUI does not input the proper information
80
- in FITS headers (`e.g. `, ``GRATING = UNKNOWN `` for DeVeny before the drop-down
81
- menu has been selected). Online help is available with the ``-h `` option.
82
- [`Completed: 2022-10-17 `]
83
-
84
- - ``deveny_collfocus ``: Use the specified grating angle and mount temperature
85
- to suggest a range for use with the DeVeny LOUI collimator Focus Sequence
86
- function. This GUI computes the expected focus from an emperical equation
87
- derived from DeVeny data from 2017-2020, and then suggests the focus range.
88
- This is important because, unlike all other focus routines at LDT,
89
- this function takes the **starting point **, step, and number of exoposures
90
- rather than the **expected focus value **, step, and number of exposures.
91
- [`Completed: 2023-07-31 `]
65
+ - DeVeny Spectrograph grating angle calculator (``deveny_grangle ``)
66
+
67
+ - DeVeny Spectrograph collimator focus sequence estimator (``deveny_collfocus ``)
68
+
69
+ - DeVeny Spectrograph collimator focus calculator (``dfocus ``)
70
+
71
+ - DeVeny Spectrograph pickup noise scrubber (``scrub_deveny_pickup `` -- *beta testing *)
72
+
73
+ - Simple FITS header fixing tool (``fix_ldt_header ``)
92
74
93
75
.. _future :
94
76
95
77
Future Tools (planned or in development):
96
78
-----------------------------------------
97
79
98
- - ``lmi_etc ``: Python GUI version of the LMI exposure time calculator
99
- (http://www2.lowell.edu/users/massey/LMI/etc_calc.php).
100
-
101
- - ``neocp_ephem ``: An ephemeris-generating tool for querying the JPL Scout database
102
- for short-shelf- life NEOs that have not yet been assigned a Horizons identifier.
103
- This tool will turn the returned data into a file that can be ingested into the
104
- LDT TCS for observations.
105
-
106
- - ``validate_input_list ``: The extant input list validation tool
107
- (https://confluence.lowell.edu/display/LDTOI/Validate+Input+List) was
108
- produced in 2015 using an old Java Runtime Environment that is not available on
109
- most modern operating systems. As such, the tool is virtually useless. This
110
- python program would provide this key functionality in a modern environment.
111
-
112
- - ``observer_target_list ``: The extant observer target list tool
113
- (https://confluence.lowell.edu/display/LDTOI/Observer+Target+List+User+Manual)
114
- was produced in 2015 using an old Java Runtime Environment that is not available on
115
- most modern operating systems. It still runs happily on the LDT observer machines,
116
- but those will need to be replaced at some point. This python version will provide
117
- a future-proof solution.
118
-
119
- - ``scrub_deveny_pickup ``: The DeVeny spectrograph suffers from EM ground-loop
120
- pickup noise in the readout electronics. While the Instrument Groups is working
121
- diligently to identify the source of this noise, it is still affecting frames at
122
- the 5-10 DN level. This routine will attempt to clean the pattern from the raw
123
- frames. It works in an iterative fashion with the spectroscopic data reduciton
124
- pipeline `PypeIt <https://pypeit.readthedocs.io/en/release/index.html >`_ to
125
- identify and extract sources and sky signal before attempting to fit and remove
126
- the remaining pickup noise. If you wish to use this routine, please follow the
127
- instructions in :ref: `optional-dependencies ` to include PypeIt in your
128
- LDTObserverTools installation.
80
+ - LMI exposure time calculator (``lmi_etc ``)
81
+
82
+ - NEO Confirmation Page ephemeris generator (``neocp_ephem ``)
83
+
84
+ - Input List Validator (``validate_input_list ``)
85
+
86
+ - Observer Target List Tool (``observer_target_list ``)
129
87
130
88
==================
131
89
@@ -139,10 +97,11 @@ Installing
139
97
Set up a clean python environment
140
98
---------------------------------
141
99
142
- Because installing a python tool like LDTObserverTools also installs or upgrades
143
- its :ref: `dependencies `, the best course of action is to set up a clean python
144
- environment into which the installation will occur. This mitigates any possible
145
- dependency conflicts with other packages you use.
100
+ Because installing a python tool like LDTObserverTools also installs or
101
+ upgrades its :ref: `Package Dependencies <dependencies >`, the best course of
102
+ action is to setup a clean python environment into which the installation will
103
+ occur. This mitigates any possible dependency conflicts with other packages
104
+ you use.
146
105
147
106
The recommended method of setting up a new envrionment is with ``conda ``:
148
107
@@ -163,7 +122,7 @@ Installing LDTObserverTools via ``pip``
163
122
.. note ::
164
123
The commands here assume ``pip `` is associated with Python3. To check, run
165
124
``pip --version `` from the command line and check that the associated python
166
- version is ``>= 3.9 ``.
125
+ version is ``>= 3.10 ``.
167
126
168
127
Also, you will need ``git `` installed on your system / in your environment.
169
128
@@ -191,14 +150,16 @@ simply be a matter of executing:
191
150
Optional Dependencies
192
151
^^^^^^^^^^^^^^^^^^^^^
193
152
194
- Some of the instrument-specific routines in this package require additional dependencies
195
- that are not otherwise needed by the majority of the routines herein.
153
+ There are no optional dependencies at this time.
154
+
155
+ .. Some of the instrument-specific routines in this package require additional dependencies
156
+ .. that are not otherwise needed by the majority of the routines herein.
196
157
197
- - If you are using the ``deveny_pickup_cleaner `` routine, you will need the
198
- spectroscopic data reduction pipeline PypeIt for the iterative cleaning of
199
- the pickup noise. It can be installed by including it in the optional
200
- dependencies, `e.g. `:
158
+ .. - If you are using the ``deveny_pickup_cleaner`` routine, you will need the
159
+ .. spectroscopic data reduction pipeline PypeIt for the iterative cleaning of
160
+ .. the pickup noise. It can be installed by including it in the optional
161
+ .. dependencies, `e.g.`:
201
162
202
- .. code-block :: console
163
+ .. .. code-block:: console
203
164
204
- pip install "obstools[pypeit] @ git+https://github.com/LowellObservatory/LDTObserverTools"
165
+ .. pip install "obstools[pypeit] @ git+https://github.com/LowellObservatory/LDTObserverTools"
0 commit comments