Skip to content

[FEATURE]: Cryspy-tool for easy material definition #2492

@willend

Description

@willend

Describe the solution you'd like
Recently @ikibalin demonstrated to me how simple cryspy (feedstock) is to use for generating cif-files e.g. from a simple atom-A and atom-B string. I'd like the availability of such a tool for McStas end users in parallel with the existing features for describing structured materials (laz/lau files, CIF files via cif2hkl, NCrystal cfg strings).

I imagine a simple string-prefix (along the lines of the ncmat-solution recently added to PowderN) that would result in calling crispy during init - for feeding to a Single_crystal/PowderN/*_process component.

In other words these ingredients:

  • cryspy as dependency
  • String-input to comp(s): filename="cryspy: Fe2 O3"
  • Simple, small python-util with just enough to generate a cif via a call to cryspy
  • Use of the generated cif through cif2hkl (or maybe NCrystal on the McStas side)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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