No description
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
Butterworth Utilities
Make it easier to find a reasonable Butterworth filter
Usage
bwutil has two modes.
Both modes accept a --json flag, which prints a JSON that can be copy-pasted onto a CryoSPARC Volume Tools job to set the relevant parameters.
Find a filter with a given 0.143 crossing
In cryoEM, we report the resolution of a map based on where its FSC crosses 0.143. This tool finds you a filter of the desired order that crosses 0.143 at the desired resolution.
> bwutil crossing 3.5 --order 8
For a GSFSC-like Butterworth filter at 3.5 with order 8, use corner freq 4.377979
Fit to CryoSPARC FSC curve
This mode finds a Butterworth filter that approximates a reconstruction's GSFSC curve. You'll need to download the TXT format FSC curve from a CryoSPARC refinement or reconstruction. Provide the path to this TXT file and the reconstruction's pixel size.
> bwutil fsc J717_fsc_iteration_006_after_fsc_mask_auto_tightening.txt 0.6575
Corner frequency: 3.2144446
Filter order: 14