I find that when all input fluxes are zero, get_flux method gives an error because the returned array does not have a unit. I also simplify the code to add units by noting that applying filters should preserve the unit of the input fluxes.
Now the input fluxes can more general array shape.
Hi Morgan,
This PR contains two updates:
I find that when all input fluxes are zero,
get_flux
method gives an error because the returned array does not have a unit. I also simplify the code to add units by noting that applying filters should preserve the unit of the input fluxes.Now the input fluxes can more general array shape.