Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions