-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated particle picking plotting to handle multiple metadata files a…
…nd added example scripts
- Loading branch information
Showing
7 changed files
with
681 additions
and
712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
EXECUTABLE=$"roodmus" | ||
SUBROUTINE=$" plot_picking" | ||
|
||
CONFIG_DIR=path/to/config/files | ||
NUM_UGRAPHS=1 | ||
META_FILE="path/to/meta/file1 \ | ||
path/to/meta/file2 " | ||
JOB_TYPES="job012_extraction job020_selection" | ||
PLOT_DIR=path/to/plot/directory | ||
PLOT_TYPES="label_truth label_picked label_truth_and_picked label_matched_and_unmatched precision boundary overlap" | ||
BOX_WIDTH=16 | ||
BOX_HEIGHT=16 | ||
PARTICLE_DIAMETER=100 | ||
DPI=300 | ||
|
||
$EXECUTABLE $SUBROUTINE \ | ||
--verbose \ | ||
--tqdm \ | ||
--config_dir $CONFIG_DIR \ | ||
--num_ugraphs $NUM_UGRAPHS \ | ||
--meta_file $META_FILE \ | ||
--job_types $JOB_TYPES \ | ||
--plot_dir $PLOT_DIR \ | ||
--plot_types $PLOT_TYPES \ | ||
--dpi $DPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/bash | ||
|
||
EXECUTABLE=$"roodmus" | ||
SUBROUTINE=$" write_starfile" | ||
|
||
INPUT_CSV=path/to/input/csv/file | ||
TYPE=coordinate_star | ||
OUTPUT_DIR=path/to/output/directory | ||
UGRAPH_DIR=Micrographs | ||
PIXEL_SIZE=1 | ||
|
||
$EXECUTABLE $SUBROUTINE \ | ||
--verbose \ | ||
--tqdm \ | ||
--input_csv $INPUT_CSV \ | ||
--type $TYPE \ | ||
--output_dir $OUTPUT_DIR \ | ||
--ugraph_dir $UGRAPH_DIR \ | ||
--pixel_size $PIXEL_SIZE | ||
|
||
INPUT_CSV=path/to/input/csv/file | ||
TYPE=data_star | ||
OUTPUT_DIR=path/to/output/directory | ||
UGRAPH_DIR=Micrographs | ||
PIXEL_SIZE=1 | ||
OPTICS_GROUP_NAME=opticsGroup1 | ||
OPTICS_GROUP=1 | ||
MTF_FILENAME=mtf_300kV.star | ||
MICROGRAPH_ORIGINAL_PIXEL_SIZE=1.0 | ||
VOLTAGE=300.0 | ||
SPHERICAL_ABERRATION=2.7 | ||
AMPLITUDE_CONTRAST=0.1 | ||
IMAGE_PIXEL_SIZE=1.0 | ||
IMAGE_SIZE=128 | ||
IMAGE_DIMENSIONALITY=2 | ||
CTF_DATA_ARE_CTF_PREMULTIPLIED=0 | ||
|
||
$EXECUTABLE $SUBROUTINE \ | ||
--verbose \ | ||
--tqdm \ | ||
--input_csv $INPUT_CSV \ | ||
--type $TYPE \ | ||
--output_dir $OUTPUT_DIR \ | ||
--ugraph_dir $UGRAPH_DIR \ | ||
--pixel_size $PIXEL_SIZE \ | ||
--optics_group_name $OPTICS_GROUP_NAME \ | ||
--optics_group $OPTICS_GROUP \ | ||
--mtf_filename $MTF_FILENAME \ | ||
--micrograph_original_pixel_size $MICROGRAPH_ORIGINAL_PIXEL_SIZE \ | ||
--voltage $VOLTAGE \ | ||
--spherical_aberration $SPHERICAL_ABERRATION \ | ||
--amplitude_contrast $AMPLITUDE_CONTRAST \ | ||
--image_pixel_size $IMAGE_PIXEL_SIZE \ | ||
--image_size $IMAGE_SIZE \ | ||
--image_dimensionality $IMAGE_DIMENSIONALITY \ | ||
--ctf_data_are_ctf_premultiplied $CTF_DATA_ARE_CTF_PREMULTIPLIED | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.