Skip to content

Commit

Permalink
batch size option for e2gmm_heter_refine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
g5v991x authored May 22, 2024
1 parent 7699712 commit def75bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/e2gmm_heter_refine.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def main():
parser.add_argument("--mask", type=str,help="mask that defines the region of focusing.", default=None)
parser.add_argument("--ngauss", type=int,help="number of gauss used in initial heterogeneity analysis.", default=8000)
parser.add_argument("--niter", type=int,help="iterations of focused alignment afterwards.", default=5)
parser.add_argument("--batchsz", type=int,help="batch size.", default=16)
parser.add_argument("--expandsym", type=str,help="symmetry. the program does not apply symmetry so always specify symmetry here and the final structure will be in c1", default=None)
parser.add_argument("--maxres", type=float,help="maximum resolution for the heterogeneity analysis. This will also be the starting resolution for the following focused alignment.", default=7)
parser.add_argument("--minres", type=float,help="min resolution for the heterogeneity analysis.", default=50)
Expand Down Expand Up @@ -119,7 +120,7 @@ def main():

etc=""
etc+=f" --selgauss {options.mask}"
etc+=" --batchsz 16"
etc+=f" --batchsz {options.batchsz}"
etc3=""# --setsf sf_lp.txt"

## pretrain from lower res to ensure convergence
Expand Down

0 comments on commit def75bf

Please sign in to comment.