Remap module

remap = Remap(u, boxsize)

u is a list of 9 integers that characterise the remapping. The determinant of 3x3 matrix must be 1.

Function Result
remap.boxsize size of cuboid after remapping

In [2]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
import mockgallib as mock

u = [2, 2, 1, 1, 0, 0, 0, 1, 0]
remap = mock.Remap(u, 600)
remap


Out[2]:
remaping to box (1800.0, 447.213623046875, 268.3281555175781)

In [1]:
%%html
<style>table {float:left}</style>