Changeset 669 in Sophya for trunk/SophyaLib/SkyT/nupower.cc


Ignore:
Timestamp:
Nov 29, 1999, 5:59:13 PM (26 years ago)
Author:
ansari
Message:

Adaptation a PPersist de SpectralResponse - Suite 1 , Sophie 29/11/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyT/nupower.cc

    r668 r669  
    11//--------------------------------------------------------------------------
    22// File and Version Information:
    3 //      $Id: nupower.cc,v 1.4 1999-11-29 14:16:05 ansari Exp $
     3//      $Id: nupower.cc,v 1.5 1999-11-29 16:59:10 ansari Exp $
    44//
    55// Description:
     
    5252
    5353
     54
     55void
     56PowerLawSpectra::Print(ostream& os) const
     57{
     58  os << "PowerLawSpectra::Print f = a ((nu-nu0)/dnu)^b " << _a << "((nu-" << _nu0
     59     << ") / " << _dnu << ") ^ " << _b << endl;
     60  os << " - Fmin,Fmax= " << minFreq() << "," << maxFreq() << endl;
     61  os << "MeanFreq= " << meanFreq() << "  Emission= " << flux(meanFreq()) << endl;
     62  os << "PeakFreq= " << peakFreq() << "  Emission= " << flux(peakFreq()) << endl;
     63
     64}
     65
     66
     67/*
    5468void
    5569PowerLawSpectra::WriteSelf(POutPersist& s) 
     
    7690}
    7791
    78 
    79 void
    80 PowerLawSpectra::Print(ostream& os) const
    81 {
    82   os << "PowerLawSpectra::Print f = a ((nu-nu0)/dnu)^b " << _a << "((nu-" << _nu0
    83      << ") / " << _dnu << ") ^ " << _b << endl;
    84   os << " - Fmin,Fmax= " << minFreq() << "," << maxFreq() << endl;
    85   os << "MeanFreq= " << meanFreq() << "  Emission= " << flux(meanFreq()) << endl;
    86   os << "PeakFreq= " << peakFreq() << "  Emission= " << flux(peakFreq()) << endl;
    87 
    88 }
     92*/
Note: See TracChangeset for help on using the changeset viewer.