Skip to content

Commit bd2a43d

Browse files
committed
Change to non-legacy preproc and 32 nbors
1 parent 75911e9 commit bd2a43d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gallery/experiments/experimental_abinitio_pipeline_11618.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
n_imgs = None # Set to None for all images in starfile, can set smaller for tests
4747
img_size = 129 # Downsample the images/reconstruction to a desired resolution
4848
n_classes = 1000 # How many class averages to compute and use for reconstruction
49-
n_nbor = 100 # How many neighbors to stack for each class average
49+
n_nbor = 32 # How many neighbors to stack for each class average
5050

5151
# Outputs
52-
preprocessed_fn = f"11618_preprocessed_pf_lds{img_size}px_lnbg_lwt_inv.star"
52+
preprocessed_fn = f"11618_preprocessed_pf_ds{img_size}px_nbg_wt_inv.star"
5353
class_avg_fn = f"11618_rand{n_classes}_cls_avgs_m{n_nbor}_{img_size}px.star"
5454
volume_output_filename = f"11618_abinitio_c{n_classes}_m{n_nbor}_{img_size}px.mrc"
5555

@@ -76,10 +76,10 @@
7676
src = src.downsample(img_size).cache()
7777

7878
# Normalize the background of the images.
79-
src = src.legacy_normalize_background().cache()
79+
src = src.normalize_background().cache()
8080

8181
# Estimate the noise and whiten based on the estimated noise.
82-
src = src.legacy_whiten().cache()
82+
src = src.whiten().cache()
8383

8484
# Optionally invert image contrast.
8585
logger.info("Invert the global density contrast")

0 commit comments

Comments
 (0)