Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docstring update #328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions python/stempy/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ def electron_count(reader, darkreference=None, number_of_samples=40,

:param reader: the file reader that has already opened the data.
:type reader: stempy.io.reader
:param darkreference: the dark reference to subtract, potentially generated
via stempy.image.calculate_average().
:type darkreference: stempy.image.ImageArray or stempy::Image<double>
:param darkreference: the dark reference to subtract. For an empty dark
use np.zeros((Nx, Ny)). Dtype will be cast to
np.float32.
:type darkreference: numpy.ndarray
:param number_of_samples: the number of samples to take when calculating
the thresholds.
:type number_of_samples: int
Expand Down
Loading