Skip to content

Commit c0ce070

Browse files
committed
update gallery jsb examples
1 parent 0cb2c18 commit c0ce070

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

gallery/experiments/experimental_abinitio_pipeline_10028_jsb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@
9090

9191
# Downsample the images.
9292
logger.info(f"Set the resolution to {img_size} X {img_size}")
93-
src = src.downsample(img_size).cache()
93+
src = src.legacy_downsample(img_size).cache()
9494

9595
# Normalize the background of the images.
96-
src = src.normalize_background().cache()
96+
src = src.legacy_normalize_background().cache()
9797

9898
# Estimate the noise and whiten based on the estimated noise.
9999
src = src.legacy_whiten().cache()

gallery/experiments/experimental_abinitio_pipeline_10073_jsb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484

8585
# Downsample the images.
8686
logger.info(f"Set the resolution to {img_size} X {img_size}")
87-
src = src.downsample(img_size).cache()
87+
src = src.legacy_downsample(img_size).cache()
8888

8989
# Normalize the background of the images.
90-
src = src.normalize_background().cache()
90+
src = src.legacy_normalize_background().cache()
9191

9292
# Estimate the noise and whiten based on the estimated noise.
9393
src = src.legacy_whiten().cache()

0 commit comments

Comments
 (0)