Skip to content

ACOM_03_Au_NP_sim.ipynb bugs #11

Description

@sezelt

Running the ACOM_03 notebook as downloaded, cell 25 gives the following error:

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
/var/folders/ts/tq6v7mks7hvg37ys5zvs1c2w0000gn/T/ipykernel_3012/3733081456.py in <module>
     14 
     15 # Fit an ellipse to the elliptically corrected bvm
---> 16 qx0_corr,qy0_corr,a_corr,e_corr,theta_corr = py4DSTEM.process.calibration.fit_ellipse_1D(bvm_ellipsecorr,(qx0,qy0),(qmin,qmax))
     17 
     18 py4DSTEM.visualize.show_elliptical_fit(

NameError: name 'qmin' is not defined

I think someone changed qmin, qmax to be a list called qrange and never actually tested the notebook in a fresh state.

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