Open omus opened 3 years ago
Don't we only avoid needing to use Ref
if we define Samples
to broadcast as a scalar? I think I would find it surprising as a user for it to broadcast as a scalar; I think I'd expect it'd broadcast like the type of its data
field.
this is borderline superseded by https://github.com/beacon-biosignals/Onda.jl/issues/77
By implementing
broadcastable(::Samples)
we can avoid having to useRef
when usingSamples
during a broadcast operation (e.g.channel.(Ref(eeg), rows)
).