Skip to content

Instantly share code, notes, and snippets.

@crhea93
Created August 1, 2022 23:03
Show Gist options
  • Save crhea93/1be88fea6597dc2ff2055b64aa9a1fa2 to your computer and use it in GitHub Desktop.
Save crhea93/1be88fea6597dc2ff2055b64aa9a1fa2 to your computer and use it in GitHub Desktop.
MSIGMA-Read
data = pd.read_csv(DATASET_PATH, delimiter=' ')
data['M_BH'] = np.log10(data['M_BH'])
data['M_low'] = np.log10(data['M_low'])
data['M_high'] = np.log10(data['M_high'])
# Change low and high to errors
data['M_low'] = data['M_BH'] - data['M_low']
data['M_high'] = data['M_high'] - data['M_BH']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment