Skip to content

Commit 46384c6

Browse files
committed
Updated Y3 file manager IDs
1 parent d655d45 commit 46384c6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

DESI/Y3/post/make_covs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def make_rescaled_cov():
179179
# Recipe: run convert cov
180180

181181
# obtain the counts names
182-
reg_pycorr_names = [f.filepath for f in fm.select(id = 'correlation_recon_y1', **xi_setup)]
182+
reg_pycorr_names = [f.filepath for f in fm.select(id = 'correlation_recon_y3', **xi_setup)]
183183

184184
if len(reg_pycorr_names) == len(regs): # if we have pycorr files for all regions
185185
if len(reg_results) == len(regs): # if we have RascalC results for all regions

DESI/Y3/post/run_covs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ def read_catalog(filename: str, z_min: float = -np.inf, z_max: float = np.inf, F
135135
if len(tlabels) == 2: corlabels += ["_".join(tlabels), tlabels[1]] # cross-correlation comes between the auto-correlatons
136136

137137
# Filenames for saved pycorr counts
138-
pycorr_filenames = [[f.filepath for f in fm.select(id = 'correlation_recon_y1', tracer = corlabel, **common_setup, **xi_setup)] for corlabel in corlabels]
138+
pycorr_filenames = [[f.filepath for f in fm.select(id = 'correlation_recon_y3', tracer = corlabel, **common_setup, **xi_setup)] for corlabel in corlabels]
139139
print("pycorr filenames:", pycorr_filenames)
140140

141141
# Filenames for randoms and galaxy catalogs
142-
random_filenames = [[f.filepath for f in fm.select(id = 'catalog_randoms_recon_y1', tracer = tlabel, iran = range(nrandoms), **common_setup, **recon_setup)] for tlabel in tlabels]
142+
random_filenames = [[f.filepath for f in fm.select(id = 'catalog_randoms_recon_y3', tracer = tlabel, iran = range(nrandoms), **common_setup, **recon_setup)] for tlabel in tlabels]
143143
print("Random filenames:", random_filenames)
144144
if njack:
145-
data_ref_filenames = [fm.select(id = 'catalog_data_recon_y1', tracer = tlabel, **common_setup, **recon_setup)[0].filepath for tlabel in tlabels] # only for jackknife reference, could be used for determining the number of galaxies but not in this case
145+
data_ref_filenames = [fm.select(id = 'catalog_data_recon_y3', tracer = tlabel, **common_setup, **recon_setup)[0].filepath for tlabel in tlabels] # only for jackknife reference, could be used for determining the number of galaxies but not in this case
146146
print("Data filenames:", data_ref_filenames)
147147

148148
# Load pycorr counts

DESI/Y3/pre/make_covs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def make_rescaled_cov():
176176
# Recipe: run convert cov
177177

178178
# obtain the counts names
179-
reg_pycorr_names = [f.filepath for f in fm.select(id = 'correlation_y1', **xi_setup)]
179+
reg_pycorr_names = [f.filepath for f in fm.select(id = 'correlation_y3', **xi_setup)]
180180

181181
if len(reg_pycorr_names) == len(regs): # if we have pycorr files for all regions
182182
if len(reg_results) == len(regs): # if we have RascalC results for all regions

DESI/Y3/pre/run_covs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ def read_catalog(filename: str, z_min: float = -np.inf, z_max: float = np.inf, F
126126
if len(tlabels) == 2: corlabels += ["_".join(tlabels), tlabels[1]] # cross-correlation comes between the auto-correlatons
127127

128128
# Filenames for saved pycorr counts
129-
pycorr_filenames = [[f.filepath for f in fm.select(id = 'correlation_y1', tracer = corlabel, **common_setup, **xi_setup)] for corlabel in corlabels]
129+
pycorr_filenames = [[f.filepath for f in fm.select(id = 'correlation_y3', tracer = corlabel, **common_setup, **xi_setup)] for corlabel in corlabels]
130130
print("pycorr filenames:", pycorr_filenames)
131131

132132
# Filenames for randoms and galaxy catalogs
133-
random_filenames = [[f.filepath for f in fm.select(id = 'catalog_randoms_y1', tracer = tlabel, iran = range(nrandoms), **common_setup)] for tlabel in tlabels]
133+
random_filenames = [[f.filepath for f in fm.select(id = 'catalog_randoms_y3', tracer = tlabel, iran = range(nrandoms), **common_setup)] for tlabel in tlabels]
134134
print("Random filenames:", random_filenames)
135135
if njack:
136-
data_ref_filenames = [fm.select(id = 'catalog_data_y1', tracer = tlabel, **common_setup)[0].filepath for tlabel in tlabels] # only for jackknife reference, could be used for determining the number of galaxies but not in this case
136+
data_ref_filenames = [fm.select(id = 'catalog_data_y3', tracer = tlabel, **common_setup)[0].filepath for tlabel in tlabels] # only for jackknife reference, could be used for determining the number of galaxies but not in this case
137137
print("Data filenames:", data_ref_filenames)
138138

139139
# Load pycorr counts

0 commit comments

Comments
 (0)