semvec/pypi-packages huggingface dataset:
zchop 0.1.0
Replace small numbers with zero
License: MIT

# zchop

This is a python library providing the function `zchop`, which replaces numbers
that are close to zero with zero.

* `zchop` traverses structures such as `list`s and
  numpy `array`s, returning a copy that is the same as the input except that small numbers
  are set to zero.
* `zchop_mut` is a mutating version of `zchop` that mutates `list`s and
numpy `array`s.

# Comments

* The parts of complex numbers are treated separately.
* Non-numbers are passed unchanged.

## Antecedents

This package is based on the Julia package [ZChop.jl](https://github.com/jlapeyre/ZChop.jl), which is in turn based on the
Mathematica function [Chop](https://reference.wolfram.com/language/ref/Chop.html).
reliontomotools 1.0.0
Additional tools for Relion tomo
License: MIT
Requires Python: >=3.7

# reliontomotools

Additional tools for subtomogram analysis in Relion tomo.


## Install
```bash
pip install reliontomotools
```

## Scripts

```python
warptomo2relion

motl2relion

relion2motl
```

Converts refinement of deformation models, particle poses and CTF paramaters from WARP/M to Relion tomo.

### Example
```bash
warptomo2relion -i 'WarpXML/TS_*.xml' -s 'tomograms/TS_*/TS_*_aligned.mrc' -d 1800 -o WarpConverted -p Refine3D/job010/run_data.star

motl2relion allmotl_at_17.em -o allmotl_at_17.star -p 1.75
motl2relion --evenodd allmotl_at_even_17.em allmotl_at_odd_17.em -o allmotl_at_17_2.star -p 1.75

relion2motl -i allmotl_at_17.star -o allmotl_at_17_star.em --angpix 1.75
```