Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
f27d4c2
ngmix update runs, with issues
Jan 9, 2023
b36b92b
still debugging ngmix
Jan 12, 2023
4ea9b42
Merge remote-tracking branch 'origin/develop' into ngmix_update
Jan 12, 2023
56e60ba
change T to r50
Jan 17, 2023
d86c88a
added r50 as galaxy guess option
Jan 17, 2023
52e411e
new version of ngmix produces output. not yet tested the quality
Jan 17, 2023
9b7c8d7
unfinished overhaul of ngmix module
lbaumo Oct 15, 2023
441797e
ngmix module overhaul
lbaumo Oct 15, 2023
2b34488
Merge branch 'CosmoStat:develop' into ngmix_update
lbaumo Oct 15, 2023
396035c
ngmix update psf stuff
lbaumo Oct 16, 2023
139ffae
ngmix module random numbers
lbaumo Oct 16, 2023
ccf6e1a
ngmix module new classes
lbaumo Oct 17, 2023
e09dc48
Merge branch 'ngmix_update' of https://github.com/lbaumo/shapepipe in…
lbaumo Oct 17, 2023
75ddcc8
more ngmix updates
lbaumo Oct 18, 2023
a98063a
ngmix update
lbaumo Oct 18, 2023
886e0db
Added ngmix test fitting script
Feb 2, 2026
8fd590c
docker install: leave extensions
Apr 25, 2026
621bab1
remove obsolete scripts
Apr 26, 2026
06934c9
keeping extension for shapepipe_run.py, updated workflow
Apr 26, 2026
883c4d6
Fixed Dockerfile
Apr 26, 2026
a662554
fix: add bin/ wrappers to git and fix pyproject.toml license format
Apr 26, 2026
ce6804d
fix: use ENV key=value format in Dockerfile
Apr 26, 2026
88f3fe3
fixed extensions of scripts
Apr 26, 2026
25d9238
added missing Git_cat cfg file
martinkilbinger Apr 27, 2026
8bcfe1f
modified Mh runner acfg
Apr 27, 2026
a9e70c6
going to job 512
Apr 28, 2026
a3eec86
added ID to Mh output
May 4, 2026
a813280
added ID to Mh output
May 4, 2026
5856b9f
v2.0 running up to job 256
May 4, 2026
adc2684
fixing log headers; weightwatcher exe
martinkilbinger May 5, 2026
f922f05
Merge remote-tracking branch 'upstream/develop' into ngmix_v2.0
martinkilbinger May 6, 2026
b0c6f31
improved job checks
May 6, 2026
7fccb0e
multi-epoch vignet handling for v2.0
May 6, 2026
546e628
Merge branch 'ngmix_v2.0' of github.com:martinkilbinger/shapepipe-1 i…
martinkilbinger May 6, 2026
8bd99d6
dell changes
martinkilbinger May 7, 2026
e500139
Merge remote-tracking branch 'origin/ngmix_v2.0' into ngmix_v2.0
martinkilbinger May 7, 2026
0686c55
Merge remote-tracking branch 'upstream/develop' into ngmix_v2.0
martinkilbinger May 7, 2026
12254cd
cleaned up cfg files; job 512 seems to be working using ; fixed some …
martinkilbinger May 7, 2026
bed3a50
running until ngmix call
martinkilbinger May 9, 2026
6839230
Merge remote-tracking branch 'remotes/origin/ngmix_update' into ngmix…
martinkilbinger May 9, 2026
d01503d
Update to ngmix v2.4;
martinkilbinger May 10, 2026
fd88094
Added Axel's centroid shift test scripy (py)
May 12, 2026
ceb4f91
Merge branch 'ngmix_v2.0' of github.com:martinkilbinger/shapepipe-1 i…
May 12, 2026
7e00cfd
debugging ngmix and small nb of processed objects
martinkilbinger May 12, 2026
eba7ece
Merge branch 'ngmix_v2.0' of github.com:martinkilbinger/shapepipe-1 i…
martinkilbinger May 12, 2026
b729eb8
adapting centroid shift script to v2.0
May 13, 2026
9f4170d
Add centroid bias validation infrastructure from test_centroid_bug
May 13, 2026
7f3d172
Merge remote-tracking branch 'origin/ngmix_v2.0' into ngmix_v2.0
martinkilbinger May 14, 2026
bd12880
testing centroid bug and fix with three different setting (bug, fix, …
May 15, 2026
440f822
centroid bug fixed for v2.0
May 16, 2026
0f52921
fixed pyproject for Docker deployment
May 16, 2026
3a70fdf
fixing versions in docker
May 16, 2026
77054bb
Merge remote-tracking branch 'origin/ngmix_v2.0' into ngmix_v2.0
martinkilbinger May 18, 2026
60962ff
fixing bugs in ngmix
martinkilbinger May 20, 2026
30181ff
Merge remote-tracking branch 'origin/ngmix_v2.0' into ngmix_v2.0
martinkilbinger May 20, 2026
d146cae
fixed merge errors
martinkilbinger May 21, 2026
67079de
debugged ngmix
martinkilbinger May 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.jupyter
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile for ShapePipe Jupyter Lab
# Uses the shared base image

FROM ghcr.io/cosmostat/shapepipe:v2.0
FROM ghcr.io/cosmostat/shapepipe:develop

# Default command starts Jupyter Lab
ENTRYPOINT ["jupyter","lab","--ip=0.0.0.0","--port=8888","--no-browser","--allow-root"]
3 changes: 3 additions & 0 deletions bin/canfar_monitor.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from shapepipe.canfar_run import run_log
run_log()
3 changes: 3 additions & 0 deletions bin/canfar_monitor_log.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from shapepipe.canfar_run import run_monitor_log
run_monitor_log()
3 changes: 3 additions & 0 deletions bin/canfar_submit_job.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from shapepipe.canfar_run import run_job
run_job()
3 changes: 3 additions & 0 deletions bin/shapepipe_run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from shapepipe.shapepipe_run import main
main()
3 changes: 3 additions & 0 deletions bin/summary_run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env python
from shapepipe.summary_run import main
main()
2 changes: 0 additions & 2 deletions example/cfis/config_exp_mccd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,3 @@ PSF_MODEL_PATTERN = fitted_model
# PSF model separator
PSF_MODEL_SEPARATOR = -

# For multi-epoch purposes
ME_LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite
2 changes: 1 addition & 1 deletion example/cfis/config_onthefly.mask
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Paths to executables
[PROGRAM_PATH]

WW_PATH = ww
WW_PATH = weightwatcher
WW_CONFIG_FILE = $SP_CONFIG/mask_default/default.ww

# Indicate cds client executable if no external star catalogue is available
Expand Down
2 changes: 1 addition & 1 deletion example/cfis/config_save.mask
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Paths to executables
[PROGRAM_PATH]

WW_PATH = ww
WW_PATH = weightwatcher
WW_CONFIG_FILE = $SP_CONFIG/mask_default/default.ww

# Indicate cds client executable if no external star catalogue is available
Expand Down
90 changes: 90 additions & 0 deletions example/cfis/config_tile_Git_cat_vos.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# ShapePipe configuration file for: get external tile catalogue


## Default ShapePipe options
[DEFAULT]

# verbose mode (optional), default: True, print messages on terminal
VERBOSE = False

# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_tile_Gic

# Add date and time to RUN_NAME, optional, default: False
RUN_DATETIME = True


## ShapePipe execution options
[EXECUTION]

# Module name, single string or comma-separated list of valid module runner names
MODULE = get_images_runner

# Parallel processing mode, SMP or MPI
MODE = SMP


## ShapePipe file handling options
[FILE]

# Log file master name, optional, default: shapepipe
LOG_NAME = log_sp

# Runner log file name, optional, default: shapepipe_runs
RUN_LOG_NAME = log_run_sp

# Input directory, containing input files, single string or list of names
INPUT_DIR = $SP_RUN

# Output directory
OUTPUT_DIR = $SP_RUN/output


## ShapePipe job handling options
[JOB]

# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 1

# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00


## Module options

# Get external tile catalogue
[GET_IMAGES_RUNNER]

FILE_PATTERN = tile_numbers

FILE_EXT = .txt

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME =

# Paths

# Input path where catalogues are stored
INPUT_PATH = vos:cfis/tiles_DR6

# Input file pattern including tile number as dummy template
INPUT_FILE_PATTERN = CFIS.000.000.r

# Input file extensions
INPUT_FILE_EXT = .cat

# Input numbering scheme, python regexp
INPUT_NUMBERING = \d{3}\.\d{3}

# Output file pattern without number
OUTPUT_FILE_PATTERN = CFIS_cat-

# Copy/download method, one in 'vos', 'symlink'
RETRIEVE = vos

# If RETRIEVE=vos, number of attempts to download
# Optional, default=3
N_TRY = 3

# Copy command options, optional
RETRIEVE_OPTIONS = --certfile=$HOME/.ssl/cadcproxy.pem
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
VERBOSE = True

# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_exp_Mh
RUN_NAME = run_sp_tile_Mh_exp

# Add date and time to RUN_NAME, optional, default: True
RUN_DATETIME = False
Expand Down
16 changes: 6 additions & 10 deletions example/cfis/config_tile_MiViSmVi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ TIMEOUT = 96:00:00

[MCCD_INTERP_RUNNER]

INPUT_DIR = last:sextractor_runner_run_1
INPUT_DIR = last:sextractor_runner_run_1, run_sp_exp_Mh:merge_headers_runner

FILE_PATTERN = sexcat
FILE_PATTERN = sexcat, log_exp_headers

FILE_EXT = .fits
FILE_EXT = .fits, .sqlite

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000
Expand All @@ -84,9 +84,6 @@ PSF_MODEL_PATTERN = fitted_model

PSF_MODEL_SEPARATOR = -

# Multi-epoch mode: Path to file with single-exposure WCS header information
ME_LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite


[VIGNETMAKER_RUNNER_RUN_1]

Expand Down Expand Up @@ -146,11 +143,11 @@ OUTPUT_MODE = new
# Create multi-epoch vignets for tiles corresponding to
# positions on single-exposures

INPUT_DIR = last:sextractor_runner_run_1
INPUT_DIR = last:sextractor_runner_run_1, run_sp_exp_Mh:merge_headers_runner

FILE_PATTERN = sexcat
FILE_PATTERN = sexcat, log_exp_headers

FILE_EXT = .fits
FILE_EXT = .fits, .sqlite

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000
Expand Down Expand Up @@ -178,4 +175,3 @@ PREFIX =
# run outputs
ME_IMAGE_DIR = split_exp_runner, split_exp_runner, split_exp_runner, sextractor_runner_run_2
ME_IMAGE_PATTERN = flag, image, weight, background
ME_LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite
76 changes: 76 additions & 0 deletions example/cfis/config_tile_Ng_batch_psfex_uc.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# ShapePipe configuration file for tiles: ngmix


## Default ShapePipe options
[DEFAULT]

# verbose mode (optional), default: True, print messages on terminal
VERBOSE = True

# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_tile_Ng

# Add date and time to RUN_NAME, optional, default: False
RUN_DATETIME = False


## ShapePipe execution options
[EXECUTION]

# Module name, single string or comma-separated list of valid module runner names
MODULE = ngmix_runner

# Parallel processing mode, SMP or MPI
MODE = SMP


## ShapePipe file handling options
[FILE]

# Log file master name, optional, default: shapepipe
LOG_NAME = log_sp

# Runner log file name, optional, default: shapepipe_runs
RUN_LOG_NAME = log_run_sp

# Input directory, containing input files, single string or list of names
INPUT_DIR = .

# Output directory
OUTPUT_DIR = $SP_RUN/output


## ShapePipe job handling options
[JOB]

# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 24

# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00


## Module options

# Model-fitting shapes with ngmix
[NGMIX_RUNNER]

INPUT_DIR = run_sp_tile_Uc:read_ext_sexcat_runner,last:psfex_interp_runner,last:vignetmaker_runner_run_2,run_sp_tile_Mh_exp:merge_headers_runner

FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet, log_exp_headers

FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# Magnitude zero-point
MAG_ZP = 30.0

# Pixel scale in arcsec
PIXEL_SCALE = 0.186

SAVE_BATCH = 1000

ID_OBJ_MIN = -1
ID_OBJ_MAX = -1
9 changes: 3 additions & 6 deletions example/cfis/config_tile_Ng_template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,15 @@ TIMEOUT = 96:00:00
# Model-fitting shapes with ngmix
[NGMIX_RUNNER]

INPUT_DIR = run_sp_tile_Sx:sextractor_runner,last:X_interp_runner,last:vignetmaker_runner_run_2
INPUT_DIR = run_sp_tile_Sx:sextractor_runner,last:X_interp_runner,last:vignetmaker_runner_run_2,run_sp_exp_Mh:merge_headers_runner

FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet
FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet, log_exp_headers

FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite
FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# Multi-epoch mode: Path to file with single-exposure WCS header information
LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite

# Magnitude zero-point
MAG_ZP = 30.0

Expand Down
9 changes: 3 additions & 6 deletions example/cfis/config_tile_Ng_template_batch.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,15 @@ TIMEOUT = 96:00:00
# Model-fitting shapes with ngmix
[NGMIX_RUNNER]

INPUT_DIR = run_sp_tile_Sx:sextractor_runner,last:X_interp_runner,last:vignetmaker_runner_run_2
INPUT_DIR = run_sp_tile_Sx:sextractor_runner,last:X_interp_runner,last:vignetmaker_runner_run_2,run_sp_exp_Mh:merge_headers_runner

FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet
FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet, log_exp_headers

FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite
FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000

# Multi-epoch mode: Path to file with single-exposure WCS header information
LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite

# Directory of previous run, optional.
CHECK_EXISTING_DIR = $SP_RUN/output/run_sp_tile_ngmix_Ng1u_prev/ngmix_runner/output

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
VERBOSE = True

# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_tile_PsViSmVi
RUN_NAME = run_sp_tile_PiViVi

# Add date and time to RUN_NAME, optional, default: False
; RUN_DATETIME = False
Expand Down Expand Up @@ -57,11 +57,11 @@ TIMEOUT = 96:00:00

[PSFEX_INTERP_RUNNER]

INPUT_DIR = run_sp_tile_Sx:sextractor_runner
INPUT_DIR = run_sp_tile_Sx:sextractor_runner, run_sp_tile_Mh_exp:merge_headers_runner, last:find_exposures_runner

FILE_PATTERN = sexcat
FILE_PATTERN = sexcat, log_exp_headers, exp_numbers

FILE_EXT = .fits
FILE_EXT = .fits, .sqlite, .txt

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000
Expand All @@ -86,14 +86,14 @@ CHI2_THRESH = 2

# Multi-epoch mode parameters

ME_DOT_PSF_DIR = all:psfex_runner
# Root directory of per-exposure work directories; replaces ME_DOT_PSF_DIR
# for v2.0 per-exposure pipeline. psfex_runner/output/ dirs are discovered
# by scanning $SP_EXP for the exposures listed in the exp_numbers input file.
ME_DOT_PSF_EXP_DIR = $SP_EXP

# Input psf file pattern
ME_DOT_PSF_PATTERN = star_split_ratio_80

# Multi-epoch mode: Path to file with single-exposure WCS header information
ME_LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite


# Create vignets for tiles weights
[VIGNETMAKER_RUNNER_RUN_1]
Expand Down Expand Up @@ -132,11 +132,11 @@ PREFIX = weight
# Create multi-epoch vignets for tiles corresponding to
# positions on single-exposures

INPUT_DIR = run_sp_tile_Sx:sextractor_runner
INPUT_DIR = run_sp_tile_Sx:sextractor_runner, run_sp_tile_Mh_exp:merge_headers_runner, last:find_exposures_runner

FILE_PATTERN = sexcat
FILE_PATTERN = sexcat, log_exp_headers, exp_numbers

FILE_EXT = .fits
FILE_EXT = .fits, .sqlite, .txt

# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000
Expand All @@ -161,7 +161,8 @@ STAMP_SIZE = 51
PREFIX =

# Additional parameters for path and file pattern corresponding to single-exposure
# run outputs
ME_IMAGE_DIR = all:split_exp_runner, all:split_exp_runner, all:split_exp_runner, all:sextractor_runner
# run outputs. ME_IMAGE_EXP_DIR/ME_IMAGE_EXP_RUNNERS replace ME_IMAGE_DIR for
# the v2.0 per-exposure pipeline; output dirs are discovered by scanning $SP_EXP.
ME_IMAGE_EXP_DIR = $SP_EXP
ME_IMAGE_EXP_RUNNERS = split_exp_runner, split_exp_runner, split_exp_runner, sextractor_runner
ME_IMAGE_PATTERN = flag, image, weight, background
ME_LOG_WCS = $SP_RUN/output/run_sp_exp_Mh/merge_headers_runner/output/log_exp_headers.sqlite
Loading
Loading