Open dpanici opened 6 days ago
I thought this was consistent with what we do for grid with multiple periods? Is the length incorrect when NFP>1?
It works fine, I @unalmis brought up the point though that ds
is not actually the spacing between s
points so if it were to be used somewhere without the understanding that it is 2pi/N
, it could cause errors or confusion
Remove as a compute quantitiy as it just is an alias for grid.spacing[:,2]
ds
is supposed to be the spacing between the points ins
for a given grid, howevergrid.spacing
forzeta
is always2pi/num_zeta
, so whenNFP
is not equal to 1,ds
is not equal to the spacing between the grid points ins
. This only matters forFourierRZCurve
, but we should probably make a sub parameterization fords
(and maybe alsolength
) forFourierRZCurve
that accounts forNFP