Archive for February, 2011

Kepler’s first results

By grigoris | Filed in Astronomy

Kepler is a space based telescope to study a small area between Cygnus and Lyra for exoplanet transits of all possible targets but mainly to find Earth sized candidates in the habitable zone. A fist publication reveals these numbers: “On 1 February 2011 the Kepler Mission released data for 156,453 stars observed from the beginning […]

External variable inside awk

By grigoris | Filed in Astronomy

Sometimes, a variable may be needed to get inside awk (for or while loop for example). In order to pass the variable inside awk, include it like: awk -v i=$i ‘{ .. }’ test

Tags:

Checking header field in IRAF

By grigoris | Filed in Astronomy

In order to get a specific field from the header of a file you can use the command: cl> imhead inage.fit l+ | grep name_of_field In case you want to do it for many files you just use the wildcard: cl> imhead inage*.fit l+ | grep name_of_field Not very sophisticated … but worked fine in […]

IRAF has a variety of tools but more packages can be added really easy (when there are precompiled binaries at least!). Download the package you want (let it be … testpackage-1.4.0) and extract it inside the directory /pathto/iraf/extern/ ,where all external packages are placed [if scisoft is installed then the path is /scisoft/share/iraf/extern/ ]. Download […]

Tags: