Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pyrost
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cfel-sc-public
Pyrost
Commits
87819753
Commit
87819753
authored
3 years ago
by
simply-nicky
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/simply-nicky/pyrost
parents
6a548593
0090f103
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyrost/data_processing.py
+3
-4
3 additions, 4 deletions
pyrost/data_processing.py
with
3 additions
and
4 deletions
pyrost/data_processing.py
+
3
−
4
View file @
87819753
...
...
@@ -492,7 +492,7 @@ class STData(DataContainer):
def
defocus_sweep
(
self
,
defoci_fs
,
defoci_ss
=
None
,
size
=
51
,
ls_ri
=
None
,
return_extra
=
False
):
r
"""
Calculate a set of reference images for each defocus in `defoci` and
return an average R-characteristic of an image (the higher the value the sharper
reference image is). Return intermediate results if return_extra is True.
reference image is). Return
the
intermediate results if
`
return_extra
`
is True.
Parameters
----------
...
...
@@ -505,15 +505,14 @@ class STData(DataContainer):
ls_ri : float, optional
Reference image kernel bandwidth in pixels.
return_extra : bool, optional
Return a dictionary with intermediate results: reference images and
R images.
Return a dictionary with the intermediate results if True.
Returns
-------
r_vals : numpy.ndarray
Array of the average values of `reference_image` gradients squared.
extra : dict
Dictionary with intermediate results. Only if `return_
sweep
` is True.
Dictionary with
the
intermediate results. Only if `return_
extra
` is True.
Contains the following data:
* reference_image : The generated set of reference profiles.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment