https://github.com/r-xue/xlib
Rui's IDL code library for Astrophysics
https://github.com/r-xue/xlib
astrophysics data-analysis idl
Last synced: 3 months ago
JSON representation
Rui's IDL code library for Astrophysics
- Host: GitHub
- URL: https://github.com/r-xue/xlib
- Owner: r-xue
- Created: 2014-05-27T20:00:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T18:07:54.000Z (almost 7 years ago)
- Last Synced: 2023-08-06T13:22:07.848Z (over 2 years ago)
- Topics: astrophysics, data-analysis, idl
- Language: IDL
- Homepage:
- Size: 14.2 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### IDL-xlib
This repository contains various routines written in IDL for my astronomy research projects. Most rocedures/functions in this collection were written as library codes for "general" purposes, but motivated by specific projects.
###### One-line descriptions of some procedures/functions (still under construction):
Astrophysics Models
* [calc_nc.py]()
calculate the critical density of common ISM molecular/atomic species
* [calc_igmtau.pro]()
compute a model IGM transmission function
Astronomical Utilities
* [calc_qb.pro]()
calculate the effective bandwidth (narrow-line) and gain (continuum) of an imaging filter
* [deproj_beam.pro]()
calculate the beam shape of a deprojected galaxy image.
* [deproj_im.pro]()
deproject a galaxy image
* [fxreadx.pro]()
a fast and memory-saving routine to extract sub-regions from a large 2D image.
* [get_filter.pro]()
query astronomical filter properties from a built-in database
* [map_fits.pro]()
display fits images with an arbitrary projection
* [map_boundary.pro]()
display the imaging boundary by looking up missing data
* [mk_hd.pro]()
make a reference image header
* [query_refobj.pro]()
query reference objects for astrometry correction
* [check_point.pro]()
validate a position in an astronomical image
* [match_astro.pro]()
derive astrometry solution with high-order distortions
* [psfex_analyzer.pro]()
an IDL wrapper of PSFEX, for analyzing PSF in optical images
* [smooth3d.pro]()
convolve a cube or image to a desired resolution
* [pltmom_pv.pro]()
plot PV maps
* [pltmom.pro]()
plot moment-0/1 maps
* [maskmoment_pv.pro]()
make moment-0 maps in the position-velocity dimension
* [hrot3d.pro]()
rotate 3D cubes
* [err_cube.pro]()
derive an error cube based on a noise pattern model
* [gkernel.pro]()
derive the kernel for convolving a gaussian beam to a desired shape
MISC
* [amoeba_sa.py]()
a Python implementation of the Nelder-Mead algorithm for function minimization
* [pineps.pro]()
combine eps/ps files into multi-page PDF.
* [read_table.pro]()
read tables fro google docs, excel, etc.
### Install
Download the update-to-date version of this library using the following command:
git clone http://github.com/r-xue/xlib.git
Add the library path to your IDL environment.