Skip to content

Commit

Permalink
[pre-commit.ci] Automatic python formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 10, 2024
1 parent 33361ae commit f264653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spyrit/core/meas.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,8 +1485,8 @@ def _spline(dx, mode):
)
else:
raise NotImplementedError(
f"The mode {mode} is invalid, please choose bilinear, " +
"bicubic or schaum."
f"The mode {mode} is invalid, please choose bilinear, "
+ "bicubic or schaum."
)


Expand Down
4 changes: 2 additions & 2 deletions spyrit/test/test_core_recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ def rotate(t):
# deformation field
time_vector = torch.linspace(0.25, M // 4, M)
field = AffineDeformationField(rotate, time_vector, (H, H))
img_motion = field(img, mode='bilinear')
img_motion = field(img, mode="bilinear")
# measurement
y = meas_op(img_motion)
# build H_dyn and H_dyn_pinv
meas_op.build_H_dyn(field, 'bilinear')
meas_op.build_H_dyn(field, "bilinear")
meas_op.build_H_dyn_pinv()
# reconstruction
recon_op = PseudoInverse()
Expand Down

0 comments on commit f264653

Please sign in to comment.