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
using AstroLib, AstroAngles, Dates | |
""" | |
Given a source position in RA and DEC, a time in Julian days, and an observatory, | |
return the parallactic angle of the target. | |
You can also pass optional keyword arguments that are forwarded to `eq2hor` to | |
adjust assumptions around refraction correction, temperature, nutation, etc. | |
""" | |
function postime2pa(ra_deg, dec_deg, time_jd, observatory; kwargs...) |
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
[deps] | |
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | |
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | |
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a" | |
[compat] | |
CSV="0.10.9" | |
DataFrames="1.4.4" | |
GLMakie="0.8.2" |
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
using Convex | |
using COSMO | |
using LinearAlgebra | |
""" | |
INPUT: | |
- Matrix containing the flattened subtraction region of all the images |
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
# Start Julia 1.5 with more than 1 threads. | |
# Then run `] add ImPlot CImGui` to install deps. | |
using CImGui | |
using CImGui.CSyntax | |
using CImGui.CSyntax.CStatic | |
using CImGui.GLFWBackend | |
using CImGui.OpenGLBackend | |
using CImGui.GLFWBackend.GLFW | |
using CImGui.OpenGLBackend.ModernGL |