---+ Photon An extension (subclass) to [[DataModelWave][Wave]] adding an energy property. _I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like [[DataModelWave][Wave]] I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name (Jon's DataModelFravergy ?) might be more appropriate. - MCH_ ---++ Interface * [[DataModelWave][Wave]] properties * Energy : in eV ? ---++ Implementation A trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the [[DataModelWave][Wave]] superclass. -- IVOA.MartinHill - 21 May 2004 <br><br><br> <!-- * Set ALLOWTOPICRENAME = IVOA.TWikiAdminGroup -->
This topic: IVOA
>
WebHome
>
IvoaDataModel
>
DataModelPassband
>
DataModelPhoton
Topic revision: r2 - 2004-05-25 - MartinHill
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback