Skip to content

Commit

Permalink
Do not export Spinor-related functions (no warnings in docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
beorostica committed Dec 21, 2023
1 parent 109eb65 commit 11fa41a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions KomaMRICore/src/KomaMRICore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export Grad, RF, ADC, Delay
export Mag, dur
#Phantom
export brain_phantom2D, brain_phantom3D
#Spinors
export Spinor, Rx, Ry, Rz, Q, Un
#Secondary
export get_kspace, rotx, roty, rotz
#ISMRMRD
Expand Down
2 changes: 2 additions & 0 deletions KomaMRICore/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ end
end

@testitem "Spinors×Mag" tags=[:core] begin
import KomaMRICore: Spinor, Rx, Ry, Rz, Q, Un

This comment has been minimized.

Copy link
@cncastillo

cncastillo Dec 21, 2023

Member

using


# Spinor 2x2 representation should be equivalent to a 3x1 vector rotation
x = rand(3); x = x./sum(x)
θ = rand() * π
Expand Down
4 changes: 4 additions & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ read_phantom_MRiLab

## Functor Functions

```@meta
CurrentModule = KomaMRICore
```

### `f32`
```@docs
f32
Expand Down

0 comments on commit 11fa41a

Please sign in to comment.