Skip to content

Commit

Permalink
Add dfocus test file
Browse files Browse the repository at this point in the history
	new file:   obstools/tests/test_dfocus.py
tbowers7 committed Nov 19, 2024
1 parent 60a940e commit 985c30d
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions obstools/tests/test_dfocus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# pylint: disable=missing-function-docstring
# -*- coding: utf-8 -*-
#
# This file is part of LDTObserverTools.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Created on 18-Nov-2024
#
# @author: tbowers

"""DeVeny Collimator Focus Calculator TEST Module
NOTE: Use unit testing as a guide for rewriting the dfocus module in a more
pythonic, less IDL style. In particular, think about breaking down the
functions into functionality rather than narrative steps.
"""

import numpy as np

from obstools import dfocus


def test_dfocus():
pass


def test_initialize_focus_values():
pass


def test_parse_focus_log():
pass


def test_process_middle_image():
pass


def test_trim_deveny_image():
pass


def test_extract_spectrum():
pass


def test_find_lines():
pass


def test_fit_focus_curves():
pass


def test_plot_optimal_focus():
pass


def test_plot_focus_curves():
pass


def test_find_lines_in_spectrum():
pass

0 comments on commit 985c30d

Please sign in to comment.