Skip to content

Commit

Permalink
document IntervalSets Not selector
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Aug 22, 2023
1 parent c54f8ec commit fa7c9d0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/crash/course/course.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,16 @@ mean(A3; dims=Ti)
# Indexing by value in `DimensionalData` is done with [Selectors](@ref).
# IntervalSets.jl is now used for selecting ranges of values (formerly `Between`).

# | Selector | Description |
# | :---------------------- | :------------------------------------------------------------------ |
# | [`At(x)`](@ref) | get the index exactly matching the passed in value(s) |
# | [`Near(x)`](@ref) | get the closest index to the passed in value(s) |
# | [`Contains(x)`](@ref) | get indices where the value x falls within an interval |
# | [`Where(f)`](@ref) | filter the array axis by a function of the dimension index values. |
# | [`a..b`] | get all indices between two values, inclusively. |
# | [`OpenInterval(a, b)`] | get all indices between `a` and `b`, exclusively. |
# | [`Interval{A,B}(a, b)`] | get all indices between `a` and `b`, as `:closed` or `:open`. |
# | Selector | Description |
# | :---------------------- | :-------------------------------------------------------------------- |
# | [`At(x)`](@ref) | get the index exactly matching the passed in value(s) |
# | [`Near(x)`](@ref) | get the closest index to the passed in value(s) |
# | [`Contains(x)`](@ref) | get indices where the value x falls within an interval |
# | [`Where(f)`](@ref) | filter the array axis by a function of the dimension index values. |
# | [`Not(x)`] | get all indices _not_ selected by `x`, which can be another selector. |
# | [`a..b`] | get all indices between two values, inclusively. |
# | [`OpenInterval(a, b)`] | get all indices between `a` and `b`, exclusively. |
# | [`Interval{A,B}(a, b)`] | get all indices between `a` and `b`, as `:closed` or `:open`. |


# Selectors find indices in the `LookupArray`, for each dimension.
Expand Down

0 comments on commit fa7c9d0

Please sign in to comment.