And update the readme

This commit is contained in:
Abe Levitan
2022-06-08 13:32:39 -07:00
parent 858d8f3b2a
commit 08eb1ad2ef
+2 -2
View File
@@ -5,8 +5,8 @@ CDTools is a python library for ptychography and CDI reconstructions, using an A
```python
# imports
from matplotlib import pyplot as plt
from CDTools.datasets import Ptycho_2D_Dataset
from CDTools.models import FancyPtycho
from cdtools.datasets import Ptycho_2D_Dataset
from cdtools.models import FancyPtycho
# Load the file
dataset = Ptycho_2D_Dataset.from_cxi('ptycho_data.cxi')