Reciprocal space

Added function to nsls2/recip.py taken parts from the pyspec 

def process_to_q - This will procees the given images (certain scan) of
    the full set into receiprocal(Q) space, (Qx, Qy, Qz, I)
def process_grid  -This function will process the set of
    (Qx, Qy, Qz, I) values and grid the data
def get-grid_mesh - This function returns the X,Y, Z co-ordinates of the grid as 3d arrays
Why does this work on a stack of images instead of a single image (and then process a stack by calling the single-frame function a bunch of times)?