Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion bin/tofu
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ def main():
version='%(prog)s {}'.format(__version__))

sino_params = ('flat-correction', 'sinos')
reco_params = ('flat-correction', 'reconstruction')
tomo_params = config.TOMO_PARAMS
lamino_params = config.LAMINO_PARAMS
gui_params = tomo_params + ('gui', )
Expand Down
5 changes: 5 additions & 0 deletions tofu/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@
'type': float,
'unit': "rad",
'help': "Angle offset of first projection"},
'interpolation': {
'default': "cubic",
'type': str,
'help': "Interpolation method (texture is actually linear, but implemented differently)",
'choices': ['nearest', 'texture', 'linear', 'cubic']},
'method': {
'default': 'fbp',
'type': str,
Expand Down
1 change: 1 addition & 0 deletions tofu/reco.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def tomo(params):
bp = get_task('backproject', axis_pos=axis)
last_node = bp

bp.props.mode = params.interpolation
if params.angle:
bp.props.angle_step = params.angle

Expand Down