Skip to content

Commit

Permalink
RF_hard now has an optional df parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
cncastillo committed Jul 8, 2022
1 parent 013b05a commit ccc7b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "KomaMRI"
uuid = "6a340f8b-2cdf-4c04-99be-4953d9b66d0a"
authors = ["Carlos Castillo Passi <[email protected]>"]
version = "0.6.1"
version = "0.6.2"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
4 changes: 2 additions & 2 deletions src/sequences/PulseDesigner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ using ..KomaMRI: γ, Scanner, get_bvalue, get_max_grad
###############
## RF Pulses ##
###############
RF_hard(B1, T, sys::Scanner; G=[0,0,0]) = begin
RF_hard(B1, T, sys::Scanner; G=[0,0,0], Δf=0) = begin
ζ = sum(G) / sys.Smax
EX = Sequence([ Grad(G[1],T,ζ); #Gx
Grad(G[2],T,ζ); #Gy
Grad(G[3],T,ζ);;], #Gz
[RF(B1,T,0,ζ);;] #RF
[RF(B1,T,Δf,ζ);;] #RF
)
EX
end
Expand Down

2 comments on commit ccc7b3d

@cncastillo
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/63932

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.2 -m "<description of version>" ccc7b3da903f1569d3fd6758bbe2fc95547e88f6
git push origin v0.6.2

Please sign in to comment.