Dih5 / xpecgen

A python package with a GUI to calculate X-ray sPECtra GENerated in tungsten anodes.
GNU General Public License v3.0
19 stars 4 forks source link

Interpreter Usage Example Outdated? #18

Closed bpops closed 3 years ago

bpops commented 3 years ago

I believe the screenshot of the interpreter usage example (img/DemoConsole.png) is out of date. Following it throws the following error: module 'xpecgen' has no attribute 'calculate_spectrum' I believe this is the correct way to load it in: from xpecgen import xpecgen as xg

I would fix it myself and submit a PR but on a mac and the UI would contrast with your GUI example screenshot.

Dih5 commented 3 years ago

Thank you for noticing and my apologies for the late reply, I completely forgot about this.

I will upload updated images now.