Created
August 1, 2022 23:03
-
-
Save crhea93/1be88fea6597dc2ff2055b64aa9a1fa2 to your computer and use it in GitHub Desktop.
MSIGMA-Read
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
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