public static OmegaAnomaly CreateFromCartesianAnomaly(double omega, CartesianAnomaly ca, double[,,] sigma) { var zeta = OmegaModelUtils.ConvertSigmaToZeta(omega, sigma); var layers = ca.Layers.Select(l => (IAnomalyLayer)l).ToList(); return(new OmegaAnomaly(zeta, ca.LocalSize, layers)); }
private static IsotropyLayer CreateIsotropy1DLayerDataFrom(double omega, Sigma1DLayer layer) { var zeta = OmegaModelUtils.ConvertSigmaToZeta(omega, layer.Sigma); return(new IsotropyLayer(layer.Thickness, zeta)); }