astropy:docs

StarList

class delphinus.artstars.StarList(nImages)[source]

Bases: object

Make and write an artifcial star list.

Parameters :

nImages : int

Number of images expected.

Methods Summary

add_stars(x, y, counts[, ext, chip]) Add a list of stars for a given ext and chip.
add_stars_mags(x, y, mags[, zps, exptimes, ...]) Identical to add_stars() except that star brightnesses can be given as magnitudes.
write(path) Write articial star list to path.

Methods Documentation

add_stars(x, y, counts, ext=0, chip=1)[source]

Add a list of stars for a given ext and chip.

Parameters :

x,y : ndarray

Pixel coordinates of artificial stars in frame of the reference image (or first image).

counts : tuple

Artificial stars brightnesses, in counts, for each image. The order must be consistent with the ordering of each image photometered in the original DOLPHOT run.

ext : int

Extension number, typically 0 for main image.

chip : int

Chip number, typically 1.

add_stars_mags(x, y, mags, zps=25, exptimes=1.0, ext=0, chip=1)[source]

Identical to add_stars() except that star brightnesses can be given as magnitudes. Zeropoints and exposure times will translate those magnitudes into counts on each image.

Parameters :

x,y : ndarray

Pixel coordinates of artificial stars in frame of the reference image (or first image).

mags : tuple

Artificial stars brightnesses, in magnitudes, for each image. The order must be consistent with the ordering of each image photometered in the original DOLPHOT run.

zps : tuple or float

Zeropoint of either all images (a float) or a sequence of zeropoints corresponding to the list of images in the artficial star test.

ext : int

Extension number, typically 0 for main image.

chip : int

Chip number, typically 1.

write(path)[source]

Write articial star list to path.

Page Contents