Difference: DataModelPhoton (1 vs. 3)

Revision 32012-06-26 - root

 
META TOPICPARENT name="DataModelPassband"

Photon

An extension (subclass) to 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 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

  • Wave properties
  • Energy : in eV ?

Implementation

A trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass.

-- MartinHill - 21 May 2004




Revision 22004-05-25 - MartinHill

 
META TOPICPARENT name="DataModelPassband"

Photon

An extension (subclass) to Wave adding an energy property.

Changed:
<
<
I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name might be more appropriate. - MCH
>
>
I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like 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

  • Wave properties
  • Energy : in eV ?

Implementation

A trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass.

-- MartinHill - 21 May 2004




<--  
-->

Revision 12004-05-21 - MartinHill

 
META TOPICPARENT name="DataModelPassband"

Photon

An extension (subclass) to 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 Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name might be more appropriate. - MCH

Interface

  • Wave properties
  • Energy : in eV ?

Implementation

A trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass.

-- MartinHill - 21 May 2004




<--  
-->
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback