Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| from __future__ import print_function, division | |
| import numpy as np | |
| from jplephem.spk import SPK | |
| from astropy.constants import c | |
| import astropy.units as u | |
| from astropy.coordinates import SkyCoord | |
| from astropy.time import Time |
This file contains hidden or 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
| from datetime import datetime | |
| # Third-party | |
| import astropy.coordinates as coord | |
| import astropy.units as u | |
| import astropy.time as t | |
| import matplotlib as mpl | |
| import matplotlib.pyplot as pl | |
| import matplotlib.dates as mdates | |
| import numpy as np |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # Contact: yucelkilic@myrafproject.org | |
| red='\e[1;31m%s\e[0m\n' | |
| green='\e[1;32m%s\e[0m\n' | |
| yellow='\e[1;33m%s\e[0m\n' | |
| blue='\e[1;34m%s\e[0m\n' | |
| magenta='\e[1;35m%s\e[0m\n' | |
| cyan='\e[1;36m%s\e[0m\n' | |
| if [ "$(whoami)" != "root" ]; then |
This file contains hidden or 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
| function [maxtab, mintab]=peakdet(v, delta, x) | |
| %PEAKDET Detect peaks in a vector | |
| % [MAXTAB, MINTAB] = PEAKDET(V, DELTA) finds the local | |
| % maxima and minima ("peaks") in the vector V. | |
| % MAXTAB and MINTAB consists of two columns. Column 1 | |
| % contains indices in V, and column 2 the found values. | |
| % | |
| % With [MAXTAB, MINTAB] = PEAKDET(V, DELTA, X) the indices | |
| % in MAXTAB and MINTAB are replaced with the corresponding | |
| % X-values. |
This file contains hidden or 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
| #!/bin/bash | |
| # Bash Progress Bar: https://gist.github.com/F1LT3R/fa7f102b08a514f2c535 | |
| progressBarWidth=20 | |
| # Function to draw progress bar | |
| progressBar () { | |
| # Calculate number of fill/empty slots in the bar |