Package gaiasimu.universe.source.stellar

Examples of gaiasimu.universe.source.stellar.SpectralType


   
    // not important but required, arbitrary so far
    long idRoot = 1223345453L;
   
    // Generate physics.
    SpectralType spectralType = null;
    try {
      spectralType = new SpectralType( spType );
    } catch (SimuException e) {
      e.printStackTrace();
    }
    StarPhysicalParameters starPhysicalParameters = new StarPhysicalParameters(mass, spectralType, magBol, pop, feH, alphaE);
   
View Full Code Here


    double teff     =  5500;        // (K?)
    double logg     = 4.4;         // log g (cgs)
    double radius   = 2.0;         // (Rsun?)
       
    // Generate spectral type
    SpectralType spectralType = new SpectralType( spType );
   
    // Generate photometry
    Photometry photometry = new Photometry(magMv, distance, vMinusI, absV);
   
    // Generate astrometry
View Full Code Here

    double teff     =  5500;        // (K?)
    double logg     = 4.4;         // log g (cgs)
    double radius   = 2.0;         // (Rsun?)
       
    // Generate spectral type
    SpectralType spectralType = new SpectralType( spType );
   
    // Generate photometry
    Photometry photometry = new Photometry(magMv, distance, vMinusI, absV);
   
    // Generate astrometry
View Full Code Here

      double vRad, double mass, double magBol, int pop, double feH, double alphaE) throws SimuException {
    // not sure if important? random so far...
    long idRoot = 1223345453L;
   
    // Generate spectral type
    SpectralType spectralType = new SpectralType( spType );
   
    // Generate photometry
    Photometry photometry = new Photometry(magMv, distance, vMinusI, absV);
   
    // Generate astrometry
View Full Code Here

   
    // Open output file
    PrintWriter outputFile = new PrintWriter(new FileWriter( outputFileName ));
   
    // Generate spectral type
    SpectralType spectralType = new SpectralType( spType );
   
    // Generate photometry
    Photometry photometry = new Photometry(magMv, distance, vMinusI, absV);
   
    // Generate astrometry
View Full Code Here

    double magBol   = 4.3// (Compute from bolometric corrections)
    double radius   = 2.0// (Rsun?)
    int    pop      = 6;    // (Besancon model. 6: 5-7 Gyr)
       
    // Generate spectral type
    SpectralType spectralType = new SpectralType(teff, logg);
   
    // Generate photometry
    Photometry photometry = new Photometry(magMv, distance, vMinusI, absV);
   
    // Generate astrometry
View Full Code Here

TOP

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

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.