Extra-solar Giant Planet Lightcurve

On going to the link at the bottom you can calculate the intensity of the reflected starlight at a given wavelength as a function of orbital phase for given orbital parameters of a giant planet orbiting a star.

On clicking on the link at the bottom of the page you are taken directly to the page "lightcurve.php", as is displayed here as a plaintext file (likewise with the three other files below), which contains HTML and PHP. On submitting the form the entries are posted back to the page to refresh the contents of the form, and a the FORTRAN program "lightcurve_csharp" is submitted with several input parameters. The output is written to the file "output" on the server which is then read and passed on to the two files "showdata.php" and "plotlightcurve.php", which can be viewed by clicking on the links at the bottom of "lightcurve.php". The file "showdata.php" is written in HTML and PHP, and displays the output from the FORTRAN program. Rather more interesting is the file "plotlightcurve.php", which is written completely in PHP using object orientated programming. This calls up the graphics engine "graph.php" in PHP that generates a PNG file, which is displayed by the browser. The file "plotlightcurve.php" is the driver for this engine, and specifies the scales etc. for plotting.

The first author of the paper referenced in "lightcurve.php" wrote the FORTRAN program that calculates the reflected starlight from the planet's atmosphere based on my thermodynamic and spectroscopic calculations of the atomic and molecular species in the atmospheres of extra-solar giant planet atmospheres.

Click on the red arrow to go directly to the interactive page, and click here to go to the page giving the science context and references.

 Return to the Science & Education main page.