Open
Description
I'm currently using GSASIIscriptable
as part of an automated XRD analysis workflow and have encountered a limitation with the add_powder_histogram()
method, which appears to accept only file paths for importing data. Since my data is already held in memory (as NumPy arrays), I’m required to write temporary files to disk solely for the purpose of importing them into a GSAS-II project.
Is there currently a supported way to import powder data directly from memory (e.g., as a NumPy array, string, or file-like object) without having to create temporary files?
Any guidance would be greatly appreciated.