@@ -30,7 +30,9 @@ abstract type GradientBlock <: BuildingBlock end
...
@@ -30,7 +30,9 @@ abstract type GradientBlock <: BuildingBlock end
Parent type for all types combining one or more pulses/gradients.
Parent type for all types combining one or more pulses/gradients.
Required methods:
Required methods:
- [`get_children_blocks`](@ref): return all the [`BuildingBlock`](@ref) objects includes in this container with their indices.
- [`get_children_blocks`](@ref)(container): return all the [`BuildingBlock`](@ref) objects includes in this container with their indices.
- [`start_time`](@ref)(container, index): returns the starting time of the child corresponding to `index` relative to the start of the `container` in ms.
- `Base.getindex`(container, index): get child [`BuildingBlock`](@ref) corresponding to `index`.
"""
"""
abstract type ContainerBlock<:BuildingBlockend
abstract type ContainerBlock<:BuildingBlockend
...
@@ -50,6 +52,7 @@ Returns the starting time of the specific [`BuildingBlock`](@ref) within the con
...
@@ -50,6 +52,7 @@ Returns the starting time of the specific [`BuildingBlock`](@ref) within the con
The [`BuildingBlock`](@ref) is defined by one or more indices as defined below.
The [`BuildingBlock`](@ref) is defined by one or more indices as defined below.