Reciprocal space

In pyspec they used in degrees

From: Eric Dill <notifications@github.com<mailto:notifications@github.com>>
Reply-To: NSLS-II/NSLS2 <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Tuesday, August 12, 2014 at 3:53 PM
To: NSLS-II/NSLS2 <NSLS2@noreply.github.com<mailto:NSLS2@noreply.github.com>>
Cc: Sameera Abeykoon <sameera@bnl.gov<mailto:sameera@bnl.gov>>
Subject: Re: [NSLS2] Reciprocal space (#59)


In nsls2/core.py:

> @@ -262,7 +262,18 @@ def _iter_helper(path_list, split, md_dict):
>          "type" : tuple,
>          "units" : "pixel",
>          },
> -     "dist_sample": {
> +     "detector_size": {
> +         "description" : ("2 element tuple defining no. of pixels(size) in the detector"
> +                          "X and Y direction"),
> +         "type" : tuple,
> +         "units" : "pixel",
> +         },
> +    "detector_angle": {
> +        "description" : ("Detector tilt angle"),
> +        "type" : float,
> +        "units" : " ?",


This should be either radians or degrees. I'm not sure which. @stuwilkins<https://github.com/stuwilkins>, is there a convention here?

—
Reply to this email directly or view it on GitHub<https://github.com/NSLS-II/NSLS2/pull/59/files#r16137937>.