Exemplo n.º 1
0
        public OneSpotModeling(Table1D[] lc, Spline31D[] spInt)
        {
            this.lc = lc;
            Star star = new Star(45 * Math.PI / 180, 5000, 4.5);

            star.AddUniformCircularSpot(0.0, 0.0, 1.0, 5000, 30, 90);
            this.lcm = new LCModeller(star, spInt[0]);
        }
Exemplo n.º 2
0
        public MultiSpotMapper(Star star, Spline31D[] spInt, LightCurve[] lcObs)
        {
            this.star     = star.Clone();
            this.lcObs    = lcObs;
            this.modeller = new LCModeller[lcObs.Length];
            for (int q = 0; q < lcObs.Length; q++)
            {
                modeller[q] = new LCModeller(star.Clone(), spInt[q]);
            }
            this.lcMod = new LightCurve[lcObs.Length];

            this.scales = new double[lcObs.Length];
        }