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
Delta, theta, chi , phi , mu , gamma
 I will discuss this order with Vivek . May be we have to put a drawing of the six circle diffractometer with angles in our documentation ?. Because when you take diffcalc they use different Greek letters. Even you take the six angles diffractometers there are more than one kind of diffractometer, with different rotations


On Aug 2, 2014, at 9:30 AM, "Eric Dill" <notifications@github.com<mailto:notifications@github.com>> wrote:


In nsls2/recip.py:

>
>      return qi
> +
> +
> +def process_to_q(settingAngles, detSizeX, detSizeY, detPixSizeX,
> +                 detPixSizeY, detX0, detY0, detDis, waveLen, UBmat, istack):
> +    """
> +    This will procees the given images (certain scan) of
> +    the full set into receiprocal(Q) space, (Qx, Qy, Qz, I)
> +
> +    Parameters
> +    ----------
> +    settingAngles : Nx6 array
> +        six angles of the all the images


what is the order of these setting angles?

—
Reply to this email directly or view it on GitHub<https://github.com/NSLS-II/NSLS2/pull/5/files#r15729060>.