I have the following prior_total
built from prior_fish
array and np.arange(5)
with num_prior_loop=50
# Declare prior array
prior_start = 1
prior_end = 5
prior_fish = np.logspace(prior_start,prior_end,num_prior_loop)
# Prior total
prior_total = np.stack([prior_fish.T, np.arange(5)])
How to get access to prior_total[i,j]
, I mean i
for the i-th element of prior_fish
and j
for the j-element of np.aranage(5) ?
I tried : prior_total[i,j]
and prior_total([[[0,i],[1,j]]]
but this doesn't work.
What might be wrong here?