Exemplo n.º 1
0
def rotate2obs(rotate, tip, b):
    """This should be opposite to rotate2planet..."""
    out_vec = shape.rotZ(tip, shape.rotX(rotate, b))
    return out_vec
Exemplo n.º 2
0
def rotate2planet(rotate, tip, b):
    """separate out to keep use consistent!"""
    # out_vec = shape.rotZ(tip,shape.rotX(rotate,b))  # the first way, which is seemingly incorrect
    out_vec = shape.rotX(rotate, shape.rotZ(tip, b))
    return out_vec
Exemplo n.º 3
0
def rotate2obs(rotate, tip, b):
    """This should be opposite to rotate2planet..."""
    out_vec = shape.rotZ(tip, shape.rotX(rotate, b))
    return out_vec
Exemplo n.º 4
0
def __rotate2obs__(rotate,tip,b):
    """This should be opposite to __rotate2planet__..."""
    out_vec = shape.rotZ(tip,shape.rotX(rotate,b))
    return out_vec
Exemplo n.º 5
0
def rotate2planet(rotate, tip, b):
    """separate out to keep use consistent!"""
    # out_vec = shape.rotZ(tip,shape.rotX(rotate,b))  # the first way, which is seemingly incorrect
    out_vec = shape.rotX(rotate, shape.rotZ(tip, b))
    return out_vec