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

PowerMethodNonsquare error #34

Closed
dkazanc opened this issue Feb 13, 2018 · 1 comment
Closed

PowerMethodNonsquare error #34

dkazanc opened this issue Feb 13, 2018 · 1 comment
Assignees

Comments

@dkazanc
Copy link
Collaborator

dkazanc commented Feb 13, 2018

When running try_astra_projector.py and calling function f = Norm2sq(Aop,b,c=0.5), the error is the following:

File "/home/algol/Documents/DEV/CCPi-FISTA_Reconstruction/modular/funcs.py", line 35, in init
self.L = 2.0self.c(self.A.get_max_sing_val()**2)

File "/home/algol/Documents/DEV/CCPi-FISTA_Reconstruction/modular/ops.py", line 109, in get_max_sing_val
self.s1, sall, svec = PowerMethodNonsquare(self,10)

File "/home/algol/Documents/DEV/CCPi-FISTA_Reconstruction/modular/ops.py", line 124, in PowerMethodNonsquare
x1norm = np.sqrt((x1**2).sum())

TypeError: unsupported operand type(s) for ** or pow(): 'VolumeData' and 'int'

@dkazanc
Copy link
Collaborator Author

dkazanc commented Feb 13, 2018

needs to be from overloadminus branch...

@dkazanc dkazanc closed this as completed Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants