Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
name_time = [] | |
for guts in expos: | |
infile, expo = guts | |
name_time.append((infile, dateutil.parser.parse(expo["flux_header"]["DATE"]))) | |
stationary_list = list(name_time) | |
newlist = [] | |
for infile, timestamp in stationary_list: | |
temp = [] | |
for index, guts in enumerate(name_time): |
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
from scipy.stats import chi2 | |
def compare_chi2(first, second): | |
"""Given two dictionaries (usually simulated and actual), | |
return the survival probability""" | |
if len(first['J2000']) != len(second['J2000']): | |
raise Exception | |
return chi2.sf(np.sum((second['da'] - first['da'])**2 / second['eda']**2.0), len(first['da']) - 1) | |
average = keck_error.copy() |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer