APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Computer Program Detail Page

Item Picture
X-Ray Spectrum JS Model
written by Michael R. Gallis
The X-Ray Spectrum JavaScript Model explores the factors that affect the spectrum produced in a diagnostic X-ray imaging unit. The effects of varying the high voltage (kVp), added filtration, and ripple in the high voltage supply to the X-ray tube are included in the simulation. The physical mechanisms by which X-rays are produced are Bremsstrahlung (in which collisions of the cathode electrons convert some of their energy into X-ray photons) and characteristic X-rays (in which the cathode electrons kick an inner shell electron out of an atom, and an X-ray photon is release when one of the atom's outer shell electron transitions to the inner shell). Changing the accelerating voltage of the cathode electrons (i.e. changing kVp) affects both mechanisms of X-ray production. Adding filtration to the X-ray beam reduces its intensity, but does not reduce all energy X-rays equally.

The X-Ray Spectrum JavaScript Model was developed using the Easy Java Simulations (EjsS) version 5.  It is distributed as a ready-to-run html page and requires only a browser with JavaScript support.
1 source code document is available
Subjects Levels Resource Types
Electricity & Magnetism
- Electromagnetic Radiation
General Physics
- Computational Physics
Modern Physics
- Atomic Physics
= Absorption
- Medical Physics
- Lower Undergraduate
- Upper Undergraduate
- Instructional Material
= Interactive Simulation
Intended Users Formats Ratings
- Learners
- Educators
- application/javascript
- image/gif
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 license.
Rights Holder:
Michael Gallis
Record Cloner:
Metadata instance created December 22, 2014 by Wolfgang Christian
Record Updated:
June 15, 2015 by Lyle Barbato
Other Collections:

ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
M. Gallis, Computer Program X-RAY SPECTRUM JS MODEL (2014), WWW Document, (https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972).
M. Gallis, Computer Program X-RAY SPECTRUM JS MODEL (2014), <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972>.
APA Format
Gallis, M. (2014). X-Ray Spectrum JS Model [Computer software]. Retrieved July 18, 2024, from https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972
Chicago Format
Gallis, Michael. "X-Ray Spectrum JS Model." https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972 (accessed 18 July 2024).
MLA Format
Gallis, Michael. X-Ray Spectrum JS Model. Computer software. 2014. 18 July 2024 <https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972>.
BibTeX Export Format
@misc{ Author = "Michael Gallis", Title = {X-Ray Spectrum JS Model}, Year = {2014} }
Refer Export Format

%A Michael Gallis %T X-Ray Spectrum JS Model %D 2014 %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972 %O application/javascript

EndNote Export Format

%0 Computer Program %A Gallis, Michael %D 2014 %T X-Ray Spectrum JS Model %U https://www.compadre.org/Repository/document/ServeFile.cfm?ID=13391&DocID=3972

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Style.org: Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in a shared folder.

You must login to access shared folders.

X-Ray Spectrum JS Model:

Is Based On Easy Java Simulations Modeling and Authoring Tool

Use the Easy Java Simulations Modeling and Authoring Tool to edit and to explore the source code for the X-Ray Spectrum JS Model.

relation by Lyle Barbato

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book