def rotate2obs(rotate, tip, b): """This should be opposite to rotate2planet...""" out_vec = shape.rotZ(tip, shape.rotX(rotate, b)) return out_vec
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
def __rotate2obs__(rotate,tip,b): """This should be opposite to __rotate2planet__...""" out_vec = shape.rotZ(tip,shape.rotX(rotate,b)) return out_vec