select_obs¶
- nyx.core.filters.select_obs(tree, index)[source]¶
Slice observation index out of a stacked tree; inverse of
tile_per_obs().- Parameters:
tree (pytree)
index (int)
- Returns:
The same tree with the leading observation axis dropped from every per-observation leaf, and everything else untouched.
- Return type:
pytree