set_up#

stellarphot.utils.set_up(ccd, magnitude_limit=None)[source]#

Read in sample image and find known variables in the field of view.

Parameters:
ccd: `astropy.nddata.CCDData`

Sample image.

magnitude_limitfloat, optional (Default: None)

Faint magnitude limit applied to the VSX variable-star lookup. When None (the default) no limit is applied. Pass the same dim magnitude limit used for the comparison stars so that variable stars fainter than that limit are not included (see issue #43).

Returns:
vsx: astropy.table.Table

Table with known variables in the field of view.