Package newExamples

Examples of newExamples.SimulatedSystem


   
    // Generate simulation
    Simulation sim = new Simulation();
   
    // Generate solar system, set parameters, generate planet and star; finalize
    SimulatedSystem system = sim.addSystem("GJ 876");
    system.setAstrometry(ra, dec, parallax, muRa, muDec, vRad);
    system.createStar(magMv, distance, vMinusI, absV, feH, alphaE, mass, spType, magBol, pop);
    system.addPlanet(massPlanet, period, timePeriastron, eccentricity, inclination, omega2, nodeAngle);
    system.finalizeSystem();//*/
   
    // Generated simulated observation data
    system.generateData ( 20.0, true, false, false );
   
    // Plot transit data to file
    system.plotTransitData ( "/home/ebopp/workspace/erroroutput/data/gsimu.out" );
   
  }
View Full Code Here

TOP

Related Classes of newExamples.SimulatedSystem

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.