Skip to content

Commit 92844f0

Browse files
Merge pull request #715 from CosmoStat/refactor/remove-rho-stats
refactor: remove rho-stats from shapepipe (closes #710)
2 parents 8b59e95 + 0ac7790 commit 92844f0

18 files changed

Lines changed: 5 additions & 1201 deletions

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ RUN pip install --no-cache-dir --upgrade pip && \
8585
sqlitedict==2.0.0 \
8686
termcolor==1.1.0 \
8787
tqdm==4.63.0 \
88-
treecorr==5.1.1 \
8988
vos==3.6.1.1 \
90-
git+https://github.com/aguinot/ngmix@stable_version \
91-
git+https://github.com/tobias-liaudat/Stile@v0.1
89+
git+https://github.com/aguinot/ngmix@stable_version
9290

9391
WORKDIR /app
9492
COPY . /app/.

environment-dev.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ dependencies:
2626
- sqlitedict>=2.1
2727
- termcolor>=2.3
2828
- tqdm>=4.66.1
29-
- treecorr>=4.3.3
3029
- pip:
3130
- cs_util==0.0.5
3231
- mccd==1.2.4
@@ -35,4 +34,3 @@ dependencies:
3534
- sf_tools==2.0.4
3635
- git+https://github.com/CEA-COSMIC/pysap@develop
3736
- git+https://github.com/aguinot/ngmix@stable_version
38-
- git+https://github.com/tobias-liaudat/Stile@v0.1

environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,13 @@ dependencies:
3434
- pyqtgraph
3535
- python-pysap==0.2.1
3636
- reproject
37-
- shear_psf_leakage
3837
- skaha
3938
- sip_tpv
4039
- sf_tools
4140
- sqlitedict
4241
- termcolor
4342
- tqdm
44-
- treecorr
4543
- vos
4644
- git+https://github.com/aguinot/ngmix@stable_version
47-
- git+https://github.com/tobias-liaudat/Stile@v0.1
4845
# Optional
4946
- fitsio

example/cfis/config_MsPl_mccd.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,3 @@ PLOT_HISTOGRAMS = True
9797
# before drawing the plots.
9898
REMOVE_OUTLIERS = False
9999

100-
# Options for rho statistics plots
101-
PLOT_RHO_STATS = True
102-
103-
RHO_STATS_STYLE = HSC
104-
105-
RHO_STATS_YLIM_L = 1e-10, 4e-5
106-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_MsPl_psfex.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,3 @@ REMOVE_OUTLIERS = False
9494
# REMOVE_OUTLIERS: Remove validated stars that are outliers in terms of shape
9595
# before drawing the plots.
9696

97-
PLOT_RHO_STATS = True
98-
RHO_STATS_STYLE = HSC
99-
100-
RHO_STATS_YLIM_L = 1e-10, 4e-5
101-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_MsPl_stars.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,3 @@ REMOVE_OUTLIERS = False
9494
# REMOVE_OUTLIERS: Remove validated stars that are outliers in terms of shape
9595
# before drawing the plots.
9696

97-
PLOT_RHO_STATS = True
98-
RHO_STATS_STYLE = HSC
99-
100-
RHO_STATS_YLIM_L = 1e-10, 4e-5
101-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_Pl_mccd.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,3 @@ REMOVE_OUTLIERS = False
8181
# REMOVE_OUTLIERS: Remove validated stars that are outliers in terms of shape
8282
# before drawing the plots.
8383

84-
PLOT_RHO_STATS = True
85-
RHO_STATS_STYLE = HSC
86-
87-
RHO_STATS_YLIM_L = 1e-10, 4e-5
88-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_Pl_psfex.ini

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN_DATETIME = False
1919
[EXECUTION]
2020

2121
# Module name, single string or comma-separated list of valid module runner names
22-
MODULE = mccd_plots_runner
22+
MODULE =
2323

2424
# Parallel processing mode, SMP or MPI
2525
MODE = SMP
@@ -51,44 +51,3 @@ SMP_BATCH_SIZE = 4
5151
TIMEOUT = 96:00:00
5252

5353

54-
## Module options
55-
[MCCD_PLOTS_RUNNER]
56-
57-
# NUMBERING_SCHEME (optional) string with numbering pattern for input files
58-
NUMBERING_SCHEME = -0000000
59-
60-
#FILE_PATTERN = test
61-
FILE_PATTERN = full_starcat
62-
FILE_EXT = .fits
63-
64-
HDU = 1
65-
66-
PSF = psfex
67-
68-
# was True
69-
PLOT_MEANSHAPES = False
70-
X_GRID = 5
71-
Y_GRID = 10
72-
73-
# Optional: max values for elliptity and residual ellipticities
74-
MAX_E = 0.1
75-
MAX_DE = 0.01
76-
MIN_R2 = 4.5
77-
MAX_R2 = 7
78-
MAX_DR2 = 0.03
79-
80-
# was True
81-
PLOT_HISTOGRAMS = False
82-
REMOVE_OUTLIERS = False
83-
84-
# X_GRID, Y_GRID: correspond to the number of bins in each direction of each
85-
# CCD from the focal plane. Ex: each CCD will be binned in 5x10 regular grids.
86-
#
87-
# REMOVE_OUTLIERS: Remove validated stars that are outliers in terms of shape
88-
# before drawing the plots.
89-
90-
PLOT_RHO_STATS = True
91-
RHO_STATS_STYLE = UNIONS
92-
93-
RHO_STATS_YLIM_L = 1e-10, 4e-5
94-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_Pl_psfex_conv.ini

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN_DATETIME = False
1919
[EXECUTION]
2020

2121
# Module name, single string or comma-separated list of valid module runner names
22-
MODULE = mccd_plots_runner
22+
MODULE =
2323

2424
# Parallel processing mode, SMP or MPI
2525
MODE = SMP
@@ -51,43 +51,3 @@ SMP_BATCH_SIZE = 4
5151
TIMEOUT = 96:00:00
5252

5353

54-
## Module options
55-
[MCCD_PLOTS_RUNNER]
56-
57-
# NUMBERING_SCHEME (optional) string with numbering pattern for input files
58-
NUMBERING_SCHEME = -0000000
59-
60-
FILE_PATTERN = full_starcat
61-
FILE_EXT = .fits
62-
63-
HDU = 1
64-
65-
PSF = psfex
66-
67-
# was True
68-
PLOT_MEANSHAPES = False
69-
X_GRID = 5
70-
Y_GRID = 10
71-
72-
# Optional: max values for elliptity and residual ellipticities
73-
MAX_E = 0.1
74-
MAX_DE = 0.01
75-
MIN_R2 = 4.5
76-
MAX_R2 = 7
77-
MAX_DR2 = 0.03
78-
79-
# was True
80-
PLOT_HISTOGRAMS = False
81-
REMOVE_OUTLIERS = False
82-
83-
# X_GRID, Y_GRID: correspond to the number of bins in each direction of each
84-
# CCD from the focal plane. Ex: each CCD will be binned in 5x10 regular grids.
85-
#
86-
# REMOVE_OUTLIERS: Remove validated stars that are outliers in terms of shape
87-
# before drawing the plots.
88-
89-
PLOT_RHO_STATS = True
90-
RHO_STATS_STYLE = UNIONS
91-
92-
RHO_STATS_YLIM_L = 1e-10, 4e-5
93-
RHO_STATS_YLIM_R = 1e-8, 4e-5

example/cfis/config_exp_mccd.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ PLOT_HISTOGRAMS = True
210210
# before drawing the plots.
211211
REMOVE_OUTLIERS = False
212212

213-
PLOT_RHO_STATS = True
214-
215-
# RHO_STATS_STYLE: can be 'HSC' or 'DES'
216-
RHO_STATS_STYLE = HSC
217213

218214

219215
[MCCD_INTERP_RUNNER]

0 commit comments

Comments
 (0)