Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        public static OmegaModel BuildOmegaModel(CartesianModel startModel, double[,,] sigma, double frequency)
        {
            var omega = OmegaModelUtils.FrequencyToOmega(frequency);

            var section1D = ConvertSection1DIntoOmegaDependent(omega, startModel);
            var anomaly   = OmegaAnomaly.CreateFromCartesianAnomaly(omega, startModel.Anomaly, sigma);

            return(new OmegaModel(startModel, section1D, anomaly, omega));
        }
Exemplo n.º 3
0
        private static IsotropyLayer CreateIsotropy1DLayerDataFrom(double omega, Sigma1DLayer layer)
        {
            var zeta = OmegaModelUtils.ConvertSigmaToZeta(omega, layer.Sigma);

            return(new IsotropyLayer(layer.Thickness, zeta));
        }