ApertureFileAIJ#

class stellarphot.io.ApertureFileAIJ[source]#

Bases: object

Class to represent AstroImageJ aperture file.

Attributes:
apertureApertureAIJ

Aperture information.

`
multiapertureMultiApertureAIJ

Multi-aperture information.

Methods Summary

from_table(aperture_table[, aperture_rad, ...])

Create an ApertureFileAIJ instance from a stellarphot aperture table and info about the aperture sizes.

read(file)

Populate ApertureFileAIJ class by reading AstroImageJ apertures datafile.

write(file)

Write the apertures data in class to a file.

Methods Documentation

classmethod from_table(aperture_table, aperture_rad=None, inner_annulus=None, outer_annulus=None, default_absmag=99.999, default_isalign=True, default_centroidstar=True, y_size=4096)[source]#

Create an ApertureFileAIJ instance from a stellarphot aperture table and info about the aperture sizes.

Parameters:
aperture_tableastropy.table.Table

Table of aperture information.

aperture_radnumber

Radius of aperture.

inner_annulusnumber

Inner radius of annulus.

outer_annulusnumber

Outer radius of annulus.

Returns:
apAIJ: ApertureFileAIJ

ApertureFileAIJ object representing the aperture table.

classmethod read(file)[source]#

Populate ApertureFileAIJ class by reading AstroImageJ apertures datafile. Each line is basically a path to an attribute name followed by a value.

Parameters:
filestr

Name of the file to read.

write(file)[source]#

Write the apertures data in class to a file.

Parameters:
filestr

Name of the file to write.