mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
phoenixSpectrum_test.cpp
Go to the documentation of this file.
1/** \file phoenixSpectrum_test.cpp
2 * \brief Placeholder tests for PHOENIX model spectra.
3 */
4#include "../../catch2/catch.hpp"
5
8
9/// \cond
10// Compile the representative provider and both header-defined maintenance function templates.
12template void mx::astro::rewritePhoenixSpectrum<double>( const std::string &, double, double, int, double );
13template void mx::astro::rewritePhoenixSpectrumBatch<double>( const std::string &, double, double, double );
14/// \endcond
15
16/** \defgroup phoenixSpectrum_unit_tests phoenixSpectrum Unit Tests
17 * \ingroup astro_unit_tests
18 */
19
20namespace unitTest::placeholder::astro_phoenixSpectrum_test
21{
22
23/** \brief Verifies that the mx::astro::phoenixSpectrum API is represented in the unit-test target.
24 *
25 * \ingroup phoenixSpectrum_unit_tests
26 * \todo Add behavioral assertions for mx::astro::phoenixSpectrum.
27 */
28TEST_CASE( "phoenixSpectrum API has a test placeholder", "[astro::phoenixSpectrum][placeholder]" )
29{
30 SUCCEED( "phoenixSpectrum behavioral assertions are pending." );
31}
32
33} // namespace unitTest::placeholder::astro_phoenixSpectrum_test
TEST_CASE("Loading aoAtmosphere config settings", "[ao::analysis::aoAtmosphere]")
Verify parsing and validation of atmosphere configuration settings.
void rewritePhoenixSpectrum(const std::string &filename, floatT lmin, floatT lmax, int sepWavelength=0, floatT DF=-8.0)
Read in, crop, scale, and re-write a Phoenix spectrum data file.
void rewritePhoenixSpectrumBatch(const std::string &dir, floatT lmin, floatT lmax, floatT DF=-8.0)
Call rewritePhoenixSpectrum for all files in a directory.
Utilities for working with spectra from phoenix code.
A spectrum from the Phoenix model, for use with ioutils::astro::astroSpectrum.
Unit specifications and conversions.