Skip to content

Commit

Permalink
moved documentation in the class of simclusters.py to be visible to…
Browse files Browse the repository at this point in the history
… rtd
  • Loading branch information
samueldmcdermott committed Sep 27, 2024
1 parent 147083f commit d6392a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions deepszsim/simclusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
from datetime import datetime as dt

class simulate_clusters:
def __init__(self, M200 = None, redshift_z = None, num_halos = None, halo_params_dict = None,
R200_Mpc = None, profile = "Battaglia2012",
image_size_pixels = None, image_size_arcmin = None, pixel_size_arcmin = None,
alpha = 1.0, gamma = -0.3,
load_vars_yaml = os.path.join(os.path.dirname(__file__), 'Settings', 'config_simACTDR5.yaml'),
seed = None, tqverb = False
):
"""
Parameters
----------
Expand Down Expand Up @@ -51,6 +44,13 @@ def __init__(self, M200 = None, redshift_z = None, num_halos = None, halo_params
tqverb: bool
whether or not to display tqdm progress bar while making T maps
"""
def __init__(self, M200 = None, redshift_z = None, num_halos = None, halo_params_dict = None,
R200_Mpc = None, profile = "Battaglia2012",
image_size_pixels = None, image_size_arcmin = None, pixel_size_arcmin = None,
alpha = 1.0, gamma = -0.3,
load_vars_yaml = os.path.join(os.path.dirname(__file__), 'Settings', 'config_simACTDR5.yaml'),
seed = None, tqverb = False
):

if (M200 is not None) and (redshift_z is not None):
self.M200, self.redshift_z = M200, redshift_z
Expand Down

0 comments on commit d6392a6

Please sign in to comment.