desc.geometry.ZernikeRZToroidalSection.pack_params

ZernikeRZToroidalSection.pack_params(p)Source

Convert a dictionary of parameters into a single array.

Parameters:

p (dict) – Dictionary of ndarray of optimizable parameters.

Returns:

x (ndarray) – optimizable parameters concatenated into a single array, with indices given by x_idx