Skip to content

Develop an interface for Bayesian library (BUMPS) to call GSAS-II for forward model calculation via scripting  #76

@williamratcliff

Description

@williamratcliff

The goal would be to use BUMPS (https://github.com/bumps/bumps) as an optimizer for models in GSAS-II. While we could wrap the whole library, what we would want to do is expose the parameters that go into the calculation of a powder profile. We would also want to be able to read in a pattern using GSAS-II and have that as a numpy arrays (x, y, esd) (or other well defined object). Given the calculated pattern(s) and actual pattern(s), then BUMPS can perform the actual fitting/optimization.

One question would be what's the best way to construct the objects necessary for pattern calculation from parameters and to expose those parameters in an extensible way. One could picture doing this for ad hoc cases such as a given set of profile functions, unit cell, unit cell contents, but if we want to eventually allow for magnetism or future developments, then we might want something more gneralizable.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions