Skip to content

Result types for dynamic structure factors #12

@szabo137

Description

@szabo137

Description

The calculation of dynamic structure factors usually does not only produce one number, but some metadata as well. One might be the integration error, another would be the unit of the result. Therefore, it would be very convenient to have a result container, which is returned by dynamic_structure_factor, which serves this metadata along with the value of the DSF itself.

Stretching this idea more, it is also conceivable that this result type could contain not only the total DSF, but the components it contains in the sense of a Chihara decomposition (free-free, bound-free, free-bound, etc).

Finally, one could implement plotting functions dedicated to vectors of such a result type, which would also be very convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions