For astronomers, what software/languages do you use to handle data?

In summary, Andrew recommends using Python for large data sets and Jupyter notebooks for quick analysis.
  • #1
astroman707
61
5
For all the astronomers and astrophysicists out there, what are your preferred methods of dealing with large swaths of data? What are your go to programming languages, and software?
 
Astronomy news on Phys.org
  • #2
Python seems to be popular but I am not a professional astronomer .
Regards Andrew.
 
  • #3
You have asked this question twice. It is not a simple as you would like.

So this is an example a project I worked on. It is not astronomy. But see the last paragraph.

We developed what power engineers call a state estimator. This is the net for a company's part of the power grid. It let's power companies do things like determine how much wheeling has gone on or through their system. (tracking power that belongs to another company)

Large projects are constrained by history and cost. Just as in most areas of engineering and science. If you have something software/hardware wise that works well you do not rewrite it. You keep using it. You do not want to debug an extra 30,000 lines of new FORTRAN.

Languages and databases involved, note that some are very old:
Code:
Old SCADA - DCL (shell),  DEC FORTRAN, Userbase, DEC BASIC

HPUX - FORTRAN90, LAPACK (linear algebra), ksh88 (shell), Oracle, Pro-COBOL, Pro-C (C for Oracle), Assembler code, Stat Pak, Perl

Windows - Oracle Forms, Perl, Visual Studio C++, VB 6

This same hodge podge happens lots of places because it is more efficient in terms of cost and time to use something someone else wrote way back when, than to roll you own. I chatted with a tech guy down at the VLA radio astronomy center. Guess what? They had the same mish mash of languages and platforms plus analog FFT boxes. Way cool.

So your answer is: several languages and platforms
 
  • Like
Likes davenn, berkeman, russ_watters and 1 other person
  • #4
astroman707 said:
For all the astronomers and astrophysicists out there, what are your preferred methods of dealing with large swaths of data? What are your go to programming languages, and software?
I work on an astronomy project that generates huge amounts of data. Most code is written in Python, and the parts of the code that handle large amounts of data or are very compute intensive are written in C or C++. However, for most users, the C/C++ part is hidden, since they are just calling python routines. More and more, the Python code is being written with Jupyter notebooks. It's really quite amazing. You can write a Jupyter notebook and with a few lines of code pull in and analyze very large amounts of data in a short time.
 
  • Like
Likes davenn, lomidrevo, berkeman and 1 other person

1. What are the most commonly used software and languages for handling astronomical data?

The most commonly used software for handling astronomical data is IRAF (Image Reduction and Analysis Facility), which is a collection of programs and tools specifically designed for analyzing astronomical images. Other popular software packages include IDL (Interactive Data Language) and Python, both of which have a wide range of astronomical applications and libraries.

2. Do astronomers use specialized software or can they use general purpose programming languages?

Astronomers often use a combination of both specialized software and general purpose programming languages. While specialized software like IRAF is designed specifically for astronomical data, general purpose languages like Python and IDL can also be used to handle data and perform complex calculations.

3. Are there any open source options for handling astronomical data?

Yes, there are several open source options for handling astronomical data. Python, for example, has a large community of developers and astronomers who have created libraries and packages specifically for handling astronomical data. Other open source options include DS9 (SAOImage DS9), which is a popular image visualization and analysis tool.

4. Can you give an example of a specific task that can be performed using software for astronomical data?

One example of a task that can be performed using software for astronomical data is image calibration and reduction. This involves removing noise and artifacts from astronomical images, as well as correcting for things like atmospheric distortion and instrument imperfections. IRAF and DS9 are both commonly used for this task.

5. Do astronomers need to have programming skills in order to handle data?

While programming skills can be helpful for handling astronomical data, they are not always necessary. Many software packages, such as IRAF, have user-friendly interfaces that do not require extensive programming knowledge. However, having some programming skills can be beneficial for customizing and automating data analysis tasks.

Similar threads

Replies
5
Views
948
  • Science and Math Textbooks
Replies
4
Views
1K
  • STEM Educators and Teaching
Replies
5
Views
673
  • Astronomy and Astrophysics
Replies
1
Views
1K
Replies
4
Views
4K
  • Atomic and Condensed Matter
Replies
1
Views
1K
  • General Math
Replies
12
Views
1K
Replies
19
Views
1K
Replies
26
Views
1K
  • STEM Educators and Teaching
Replies
22
Views
3K
Back
Top