def test_projection_types(self): h = special.cylindrical_histogram([[1, 2, 3], [2, 3, 4]]) assert special.CylinderSurfaceHistogram == type( h.projection("phi", "z")) assert special.CylinderSurfaceHistogram == type( h.projection("z", "phi")) assert special.PolarHistogram == type(h.projection("rho", "phi")) assert special.PolarHistogram == type(h.projection("phi", "rho"))
def test_projection_types(self): h = special.cylindrical_histogram([[1, 2, 3], [2, 3, 4]]) assert special.CylinderSurfaceHistogram == type(h.projection("phi", "z")) assert special.CylinderSurfaceHistogram == type(h.projection("z", "phi")) assert special.PolarHistogram == type(h.projection("rho", "phi")) assert special.PolarHistogram == type(h.projection("phi", "rho"))
def test_projection_types(self): h = special.cylindrical_histogram([[1, 2, 3], [2, 3, 4]]) proj = h.projection("phi", "z") assert special.AzimuthalHistogram == type(proj.projection("phi"))
def test_radius(self): h = special.cylindrical_histogram([[1,2,3], [2, 3, 4]]) proj = h.projection("phi", "z") assert proj.radius > 1
def test_radius(self): h = special.cylindrical_histogram([[1, 2, 3], [2, 3, 4]]) proj = h.projection("phi", "z") assert proj.radius > 1