From dfeca4c923b83b083385b3478378c6c6e4adc74e Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Sun, 2 Mar 2025 01:02:39 +0300 Subject: [PATCH] ... --- cxx/mount_astrom.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cxx/mount_astrom.h diff --git a/cxx/mount_astrom.h b/cxx/mount_astrom.h new file mode 100644 index 0000000..bf18880 --- /dev/null +++ b/cxx/mount_astrom.h @@ -0,0 +1,37 @@ +#pragma once + +/********************************* + * MOUNT CONTROL COMPONENTS * + * * + * astrometry functions * + *********************************/ + +#include +#include +#include + + +namespace mcc::traits +{ + +template +concept mcc_scalar_or_simd_c = xsimd::is_batch::value || std::is_arithmetic_v; + +} // namespace mcc::traits + + +namespace mcc::astro +{ + +// modified Julian date +template +int mcc_julday(const std::chrono::utc_clock::time_point& greg_time, T& mjd) +{ +} + +template +T mcc_time_to_alt_limit(const T& alt_limit, const T& RA, const T& DEC, const std::chrono::time_point& now) +{ +} + +} // namespace mcc::astro