# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# %matplotlib inline

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns; sns.set()

centrals = pd.read_csv("data/hlist_1.00035_centralhalos.csv")
sats = pd.read_csv("data/hlist_1.00035_satellitehalos_1.0Rvir.csv")



plt.figure(figsize=(8, 8))
plt.xlabel(r'$\rm Halo\ Mass\ (M_{vir})$')
sns.distplot(np.log10(centrals['mvir(10)']))
plt.show()

plt.figure(figsize=(8, 8))
plt.xlabel(r'$\rm Halo\ Mass\ (M_{vir})$')
sns.distplot(np.log10(sats['mvir(10)']))
plt.show()



StarcoderdataJupyterScriptsDedupFiltered