Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
nam
ProxPython
Commits
f7c37af1
Commit
f7c37af1
authored
Nov 04, 2020
by
jansen31
Browse files
documentation
parent
2efd011f
Changes
2
Hide whitespace changes
Inline
Side-by-side
proxtoolbox/proxoperators/P_incoherent.py
View file @
f7c37af1
"""
Written by Matthijs Jansen, October 2020.
Contains two proxoperators which apply to a set of iterates, similar to incoherent modes of a light field
or (in my application) degenerate molecular orbitals.
"""
from
numpy
import
sum
,
where
from
numpy.core._multiarray_umath
import
sqrt
,
array
...
...
proxtoolbox/proxoperators/P_orthonorm.py
View file @
f7c37af1
"""
Written by Matthijs Jansen, October 2020 together with Russell Luke
Contains a proxoperator which takes a set of two real-valued vectors (iterate shaped like [[i_1,j_1, .., z_1], [i_2,
j_2, .., z_2]] and rotates these such that they are orthogonal. Before this is done, the vectors are normalized and
projected onto real values.
"""
from
numpy
import
sum
,
array
,
sqrt
,
zeros_like
from
proxtoolbox.proxoperators.proxoperator
import
ProxOperator
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment