Package gaiasimu.universe.source.stellar

Examples of gaiasimu.universe.source.stellar.StellarSource


        return new MultivariateMatrixFunction() {
            public double[][] value(double[] inclination) {
           
            try {
              // Create new stellar source with input inclination angle
              StellarSource source0 = getStellarSource(
                  star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination[0] );
              // Run GOG for this source
              runGog( source0 );             
              // Read epoch astrometry vector
              double[] vector0 = readEpochAstrometryArray();
             
              // Create new stellar source with input inclination angle + epsilon
              StellarSource source1 = getStellarSource(
                  star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination[0] + angleIncrement );
              // Run GOG for this source
              runGog( source1 );
              // Read epoch astrometry vector
              double[] vector1 = readEpochAstrometryArray();
View Full Code Here


   
    System.out.printf(" --- Evaluation for inc = %e \n", inclination[0]);
   
    try {
      // Create new stellar source with input inclination angle
      StellarSource source = getStellarSource(star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination[0]);
      // Run GOG for this source
      runGog( source );
      // Read epoch astrometry vector
      return readEpochAstrometryArray();
     
View Full Code Here

    // Generate new orbital parameters
    OrbitalParams orbitalParams = dmsSimuDU437.generateOrbitalParams(
        star, massSinIncl / Math.sin(inclination), period, timePeriastron, eccentricity, omega2, nodeAngle, inclination);
   
    // Generate new stellar source
    StellarSource source = dmsSimuDU437.generateSystem( star, orbitalParams );
   
    return source;
   
  }
View Full Code Here

   * @throws IOException
   */
  public FovTransitInfo[] getTransitInfo( double massSinIncl, double inc ) throws GaiaException, SimuException, IOException {
   
    // Create new stellar source with input inclination angle
    StellarSource source = getStellarSource( star, massSinIncl, period, timePeriastron, eccentricity, omega2, nodeAngle, inc );
   
    // Run GOG for this source
    runGog( source );
   
    // Read first element from epoch astrometry GOG file
View Full Code Here

    // DU437 simulator
    DmsSimuDU437 dmsSimuDU437 = new DmsSimuDU437();
    OrbitalParams orbitalParams2 = dmsSimuDU437.generateOrbitalParams(
        star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination);
     
    StellarSource systemRandom    = dmsSimuDU437.generate(star, new Random());
    StellarSource systemOnePlanet = dmsSimuDU437.generateSystem(star, orbitalParams2);
   
    // Write sources to UMStellar file
    ArrayList<gaiasimu.universe.source.AstroSource> objList = new ArrayList<gaiasimu.universe.source.AstroSource>() ; // simulated data
    //objList.add( systemRandom );
    objList.add( systemOnePlanet );
View Full Code Here

    // DU437 simulator
    DmsSimuDU437 dmsSimuDU437 = new DmsSimuDU437();
    OrbitalParams orbitalParams2 = dmsSimuDU437.generateOrbitalParams(
        star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination);
     
    StellarSource systemRandom    = dmsSimuDU437.generate(star, new Random());
    StellarSource systemOnePlanet = dmsSimuDU437.generateSystem(star, orbitalParams2);
   
    // Write sources to UMStellar file
    ArrayList<gaiasimu.universe.source.AstroSource> objList = new ArrayList<gaiasimu.universe.source.AstroSource>() ; // simulated data
    //objList.add( systemRandom );
    objList.add( systemOnePlanet );
View Full Code Here

      // DU437 simulator
      DmsSimuDU437 dmsSimuDU437 = new DmsSimuDU437();
      OrbitalParams orbitalParams2 = dmsSimuDU437.generateOrbitalParams(
          star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination);
       
      StellarSource systemOnePlanet = dmsSimuDU437.generateSystem(star, orbitalParams2);
     
      // Write sources to UMStellar file
      objList.add( systemOnePlanet );
     
    }
View Full Code Here

    // DU437 simulator
    DmsSimuDU437 dmsSimuDU437 = new DmsSimuDU437();
    OrbitalParams orbitalParams2 = dmsSimuDU437.generateOrbitalParams(
        star, massPlanet, period, timePeriastron, eccentricity, omega2, nodeAngle, inclination);
     
    StellarSource systemRandom    = dmsSimuDU437.generate(star, new Random());
    StellarSource systemOnePlanet = dmsSimuDU437.generateSystem(star, orbitalParams2);
   
    // Conversion: GBin to ASCII: nothing really happens
    String[] arguments = {GBIN_STELLAR, "newDataOutput/erase.txt", "newDataOutput/erase2.txt"};
    UMGbin2AsciiAdapter.main( arguments );
   
View Full Code Here

        / GaiaParam.Nature.SUN_MASS* GaiaParam.Nature.JUPITER_MASS, MBol2, primaryPhys) ;
   
    ComponentPhotometry compPhot = new ComponentPhotometry(compAstrom, magMV2,
        distance, vmi2, absV, star.getPhotometry().getExtinctionCurve());

    StellarSource comp = new ExoPlanet(primaryID, compPhot, compAstrom, compPhys);
    compPhot.setTargetAstroSource(comp);
    compAstrom.setTargetAstroSource(comp);
    compPhys.setTargetAstroSource(comp);

    components[compnb] = comp;
View Full Code Here

TOP

Related Classes of gaiasimu.universe.source.stellar.StellarSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.