tile_per_obs

nyx.core.filters.tile_per_obs(tree, nobs)[source]

Give every per_obs Parameter in tree a leading (nobs, ...) axis.

Parameters:
  • tree (pytree)

  • nobs (int)

Returns:

The same tree; data wrapped in PerObs, which stacks itself at construction, is untouched.

Return type:

pytree