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

Split fbp from coil maps #31

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Conversation

SebastianFlassbeck
Copy link
Collaborator

separated the calculation of the filtered backprojection from calcCoilMaps functions and export the new function calcFilteredBackProjection.

src/CoilMaps.jl Outdated
Ndims = length(img_shape)
imdims = ntuple(i->i, Ndims)

xbp = calcFilteredBackProjection(data, trj, U, img_shape, Ncoils, density_compensation=density_compensation, verbose = verbose)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little cosmetic change: I recently learned that the style guide suggests using a semicolon before the first keyword argument. Additionally, you can actually shorten the keyword argument calls if the argument and the argument's name are identical:

xbp = calcFilteredBackProjection(data, trj, U, img_shape, Ncoils; density_compensation, verbose)

In this case, the semicolon is required. Otherwise, it looks good!

Copy link

codecov bot commented Jan 8, 2024

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (f6b0e49) 61.75% compared to head (1af45d4) 60.63%.

Files Patch % Lines
src/CoilMaps.jl 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   61.75%   60.63%   -1.12%     
==========================================
  Files           5        5              
  Lines         217      221       +4     
==========================================
  Hits          134      134              
- Misses         83       87       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JakobAsslaender JakobAsslaender merged commit 8eb33bc into master Jan 9, 2024
7 of 9 checks passed
@JakobAsslaender JakobAsslaender deleted the split_fbp_from_CoilMaps branch January 9, 2024 00:18
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

Successfully merging this pull request may close these issues.

2 participants