biotite.structure.fraction_to_coord¶
- biotite.structure.fraction_to_coord(fraction, box)[source]¶
Transform fractions of box vectors to coordinates.
This is the reverse operation of
coord_to_fraction()
.- Parameters
- fractionndarray, dtype=float, shape=(n,3) or shape=(m,n,3)
The fractions of the box vectors for one or multiple models.
- boxndarray, dtype=float, shape=(3,3) or shape=(m,3,3)
The box(es) for one or multiple models. When coord is given for multiple models,
box
must be given for multiple models as well.
- Returns
- coordndarray, dtype=float, shape=(n,3) or shape=(m,n,3)
The coordinates.
See also