# Name

sxspliteigen - TO BE WRITTEN

## Usage

*Usage in command lines*:

sxbootstrap_bigdisk.py prj_stack wgtfile outdir bufprefix --nvol --nbufvol --seedbase --snr --genbuf --CTF --ngroup --npad --zero_wgts --MPI --core--verbose

*Usage in python programming*:

bootstrap_bigdisk(prj_stack, wgtfile, outdir, bufprefix, nvol, nbufvol, seedbase, snr, genbuf, sharebuf)

## Input

- prj_stack
- projection stack file
- wgtfile
the weight of each projection. This is a text file with the weights of projections int he first column. The weights is proportional to the probability of a projection to be selected in bootstrap calculation. This file is generated using sxbootstrap_calcwgts.py.

- buf_prefix
the prefix for the buffer file. These files were generated using sxbootstrap_genbuf.py.

- nvol
- number of bootstrap volumes to be generated
- nbufvol
- number of fftvols in the memory
- genbuf
- whether generate the buffer
- ngroup
- how many groups to use (each group will share a buffer)
- zero_wgts
- Percentage of maximum weights to be set to zero (default 0.0)
- seedbase
- random seed base
- core
- keep projections with high weights without resampling
- verbose
- verbose level: 0 no, 1 yes

## Output

- outdir
- bootstrap volumes will be in put in this directory with names "bsvolxxxx.hdf", where xxxx is the rank of CPU. Warning: If the output directory already exists, the program will crash. Please change the name of directory and restart the program.

## Options

- nvol
- number of bootstrap volumes to be generated
- nbufvol
- number of volumes to be generated simultaneously. This depend on how much memory you have for each CPU and you image size. First we need to know that one single reconstruction will take 0.000512*nx^3 MB of memory. Thus if your image size is 75, one reconstruction will take 216 MB of memory. If your image size is 64, it will take 134 MB of memory. Then use the memory each CPU have divide this number is your nbufvol
- CTF
- use CTF in reconstruction
- snr
- Signal to Noise ratio
- seedbase
- seed for the random number generator. If in order to compute sufficient number of bootstrap volumes the program is ran multiple times the seedbase has to be modified (increased by the number of volumes already generated).

# Description

This is third and the most time consuming step of real-space variance calculations.

# Method

# Reference

# Author / Maintainer

# Keywords

- category 1
- APPLICATIONS

# Files

applications.py, sxbootstrap_bigdisk.py

# See also

# Maturity

- stable
- works for most people, has been tested; test cases/examples available.

# Bugs

None. It is perfect.