Programming for Physics and Astronomy: Difference between revisions

From AstroEdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
In order to decide which of these apply to your own research, consider a larger question of what role computer science plays in contemporary physics and astronomy, and in what direction your research field is headed. Then, pick the tools that solve the problem at hand, realizing that the skills you develop at each step raise you up to  reach a solution for the next, unknown, problem. In some cases, continued reliance on an old, inefficient,  but proven, method only delays the need to acquire new skills and knowledge.   
In order to decide which of these apply to your own research, consider a larger question of what role computer science plays in contemporary physics and astronomy, and in what direction your research field is headed. Then, pick the tools that solve the problem at hand, realizing that the skills you develop at each step raise you up to  reach a solution for the next, unknown, problem. In some cases, continued reliance on an old, inefficient,  but proven, method only delays the need to acquire new skills and knowledge.   


An interesting perspective on the significance of large data base sciences was offered by Chris Mattmann in a [http://www.nature.com/nature/journal/v493/n7433/full/493473a.html Nature Commentary], in which he pointed out that the [http://www.skatelescope.org/ Square Kilometer Array (SKA)], scheduled to have first light in 2020, will generate 22,000,000,000 terabytes (TB) of data per year! In the optical regime, the [http://www.lsst.org Large Synoptic Survey Telescope (LSST)] has a 3.2 giga-pixel (3200 mega-pixels) camera taking images in 15 second exposures throughout the night.  The resulting images will offer a nightly record of  nearly the entire sky in an open, publically accessible database reaching 24th magnitude in single exposures, and 27th magnitude in stacked images of fields of 10 square degrees.  There will be multi-dimensional data products that will require exceptional unique tools to use effectively.
An interesting perspective on the significance of large data base sciences was offered by Chris Mattmann in a [http://www.nature.com/nature/journal/v493/n7433/full/493473a.html Nature Commentary], in which he pointed out that the [http://www.skatelescope.org/ Square Kilometer Array (SKA)], scheduled to have first light in 2020, will generate 22,000,000,000 terabytes (TB) of data per year! In the optical regime, the [http://www.lsst.org Large Synoptic Survey Telescope (LSST)] has a 3.2 giga-pixel (3200 mega-pixels) camera taking images in 15 second exposures throughout the night.  The resulting images will offer a nightly record of  nearly the entire sky in an open, publically accessible database reaching 24th magnitude in single exposures, and 27th magnitude in stacked images of fields of 10 square degrees.  There will be multi-dimensional data products from the LSST that will require exceptional unique tools to use effectively.
 
 
== Programming languages for physics and astronomy applications ==
 
Current physics and astronomy research relies on several  languages and computing environments, and there is no single choice that is optimal for every problem.  Typically, we would consider first what prior work has been done that can be used, what programming skills are required to add to the prior work, or to develop new applications, and the support that's available for the individual researcher when, inevitably, they need help. Here are a few common ones.
 
 
 
=== Fortran ===
 
=== C ===
 
=== Java ===
 
=== IDL ===
 
=== Matlab and Mathematica ==
 
=== IRAF ===

Revision as of 19:11, 6 February 2013

Only 50 years ago, most physics and astronomy research relied on the analytical skills of the scientist, on the tools of classical mathematics that were taught to them as students, and in some cases on data management and numerical analysis done by hand. Today, cutting edge research often requires high speed computing for simulation and data analysis, interactive tools to enhance extraction of relevant information from multi-parameter databases, access to automated and robotic instrumentation, and management of incomprehensibly large data sets. The issue for the researcher in training is not whether computing skills are needed, but which ones are most critical.

Broadly classed, there are several options:

  • Packaged commercial, proprietary, licensed programs and tools (e.g. Excel, Maxim ...)
  • Licensed proprietary programming environments (e.g. IDL, Matlab, Mathematica ...)
  • Open source tools (e.g. GDL, ds9, Grace, Sage ...)
  • Programming languages (e.g. C, C++, Fortran, Java, Python ...)
  • Web resources (e.g. HTML, Javascript, PHP, Perl ...)

In order to decide which of these apply to your own research, consider a larger question of what role computer science plays in contemporary physics and astronomy, and in what direction your research field is headed. Then, pick the tools that solve the problem at hand, realizing that the skills you develop at each step raise you up to reach a solution for the next, unknown, problem. In some cases, continued reliance on an old, inefficient, but proven, method only delays the need to acquire new skills and knowledge.

An interesting perspective on the significance of large data base sciences was offered by Chris Mattmann in a Nature Commentary, in which he pointed out that the Square Kilometer Array (SKA), scheduled to have first light in 2020, will generate 22,000,000,000 terabytes (TB) of data per year! In the optical regime, the Large Synoptic Survey Telescope (LSST) has a 3.2 giga-pixel (3200 mega-pixels) camera taking images in 15 second exposures throughout the night. The resulting images will offer a nightly record of nearly the entire sky in an open, publically accessible database reaching 24th magnitude in single exposures, and 27th magnitude in stacked images of fields of 10 square degrees. There will be multi-dimensional data products from the LSST that will require exceptional unique tools to use effectively.


Programming languages for physics and astronomy applications

Current physics and astronomy research relies on several languages and computing environments, and there is no single choice that is optimal for every problem. Typically, we would consider first what prior work has been done that can be used, what programming skills are required to add to the prior work, or to develop new applications, and the support that's available for the individual researcher when, inevitably, they need help. Here are a few common ones.


Fortran

C

Java

IDL

= Matlab and Mathematica

IRAF