Whenever you are developing different websites or testing same website with different versions, having virtual hosts become useful. Here’s the simple procedure how you can create such hosts on your local system.
Here’s very simple way to import MySQL database from any MySQL dump file with few easy commands.
All new useful HTML tags and attributes in one simple infographic.
LaTeX is powerful language for typesetting. It’s very flexible, too. But many times, the writer is stuck with certain symbols, which he/she doesn’t know how to typeset in LaTeX. There’s a wonderful long list of symbols available as PDF file (you can download it from the sidebar of this blog), which is mostly helpful in finding the required symbols. You must have learnt about it in my earlier post. The symbols in the PDF file are sorted after packages.
The coordinates of any objects in astronomy is given in right ascension and declination, sort of latitude and longitude for the sky. For example, for Altair, one of the brightest star in the sky, it has
[19 50 46.99] and
[+08 52 05.95]. Only declination needs plus or minus sign, like latitude on Earth’s surface. So I save these information in IDL in variable such as,
RA1, RA2, RA3, DEC1, DEC2, DEC3. Of course, I save last part of
DEC in floating number, whereas other variable are of integer. When I want to print it with following command:
I was looking for Astronomical symbols in
LaTeX, esp. for the Sun. And I thought probably there’s only one package available for it. As it seems there are quite a few many of them. I found them in the huge
LaTeX symbol list available as PDF online. Here’s the snapshot of the astronomical symbol page:
I have been away for long time, since I was busy with my research and presently I’m writing my thesis to the end. Well, I’m working on large number of stellar objects and, of course, I have to provide basic information about them in tabular form at the end of the thesis. So I needed not a simple tabular form usually used in
LaTeX, but I have to use another package to make it seamless over many pages. And I think longtable package is perfect for it. Here I tell you how to do it.
There are many IDL routines available for reading FITS file, a standard for astronomical data, but I have never been happy with their use for pretty simple thing of displaying the spectrum of the object.
fits_read gives you the header and flux, but never the wavelength scale.
readfits can also be useful, but it does so many other things, that I decided to write reading routine on my own.
IDL, Interactive Data Language, is quite a popular scientific computing application provided by ITT Visual Information System. It’s usefulness can be seen with data analysis, scientific visualization and, best of all, its cross-platform development support. There are many introductions to IDL available online. In this blog, I shall be concentrating more on its usefulness towards some applications in the Astronomy and Astrophysics.