Hi Leighanne, Images are not stored in the .gpx file but need to be retrieved as they are needed. Routine _getCorrImage() does that. It is named with the leading underscore because I never intended it to be available in the API (I’m not sure why I did that, probably because it requires access to some internals that I did not expect users to sort out.) Contact me off-list and we can set up a time to talk so I can find out what you need and I can add something to the API.
Brian On May 5, 2020, at 8:34 PM, Gallington, Leighanne C. via GSAS-II <[email protected]<mailto:[email protected]>> wrote: Hi Bob and Brian, I've been trying to incorporate GSAS-II scriptable into some python code I'm writing. I've figured out how to get the 2theta map, mask, and and I/pola maps out, but I was never able to figure out how to retrieve the numpy.array for each image. As a workaround, I read the images into my own code using the relevant bit of the tif reader code from GSAS-II (and I'm belatedly realizing as I write this email that I have could just modified Fill2thetaAziumthMap to output intensity in addition to intensity/pola), but it would be nice to be able to get that array by calling a function. Also, it would be nice if the arrays from that function were output as masked 2048*2048 arrays instead of 4+M*1 compressed arrays. Any thoughts? Leighanne -- Leighanne C. Gallington Assistant Chemist Advanced Photon Source (X-ray Science Division) Argonne National Laboratory Argonne, IL 60439 [email protected]<mailto:[email protected]> _______________________________________________ GSAS-II mailing list [email protected]<mailto:[email protected]> https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii
_______________________________________________ GSAS-II mailing list [email protected] https://mailman.aps.anl.gov/mailman/listinfo/gsas-ii
