Skip to content

chore: add measured and calculated data for DiffractionObjects example? #345

Open
@cadenmyers13

Description

@cadenmyers13

Problem

The DiffractionObjects example doesn't have any data associated with it so you can't run the example past this point (which is very early in the example) because xcalc, ycalc, xmeas, ymeas are not defined.

calculated = DiffractionObject(xcalc, ycalc, "d")
measured = DiffractionObject(xmeas, ymeas, "tth", wavelength=0.717)
plt.plot(calculated.on_q()[0], calculated.on_q()[1])
plt.plot(measured.on_q()[0], measured.on_q()[1])
plt.show()

solution

Find and add some data!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions