PyDL:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- pydl v0.6.0 »
- PyDL

# PyDL

## Introduction

This is the documentation for PyDL.

## Components

Most of the functionality of PyDL is in sub-packages.

- Goddard Utilities (`pydl.goddard`)
- SDSS Imaging Data (`pydl.photoop`)
- SDSS Spectroscopic Data (`pydl.pydlspec2d`)
- SDSS Utilities (`pydl.pydlutils`)

## Other Notes

- PyDL Changelog
- TODO
- Authors and Credits

## Base API

### pydl Package

Python replacements for functions that are part of the IDL built-in library, or part of astronomical IDL libraries. The emphasis is on reproducing results of the astronomical library functions. Only the bare minimum of IDL built-in functions are implemented to support this.

#### Functions

`file_lines`(path[, compress]) | Replicates the IDL `FILE_LINES()` function.
`median`(array[, width, axis, even]) | Replicate the IDL `MEDIAN()` function.
`rebin`(x, d[, sample]) | Resize `x` to new dimensions given by `d`.
`smooth`(signal, owidth[, edge_truncate]) | Replicates the IDL `SMOOTH()` function.
`uniq`(x[, index]) | Replicates the IDL `UNIQ()` function.

#### Classes

`pcomp`(x[, standardize, covariance]) | Replicates the IDL `PCOMP()` function.
`PydlException` | Base class for exceptions raised in PyDL functions.