actin2.actin2.ACTIN

class actin2.actin2.ACTIN

The ACTIN class. Reads fits files and calculates activity indices.

Any index is calculated as

\[I = \frac{\sum C_i F_i}{\sum K_j R_j}\]

where \(F_i\) and \(R_j\) are the flux inside the activity sensitive lines and reference bands, respectively. \(C_i\) and \(K_j\) are constants to be multiplyed to the \(F_i\) and \(R_j\) fluxes.

Class attributes:

ReadSpec

Object that reads spectrum and headers. See actin2.readspec.ReadSpec

Type:

actin2.ReadSpec

IndTable

Object containing the indices parameters table. See actin2.indtable.IndTable

Type:

actin2.IndTable

CalcIndices

Object that calculates the indices. See actin2.calcindices.CalcIndices

Type:

actin2.CalcIndices

__init__()

Methods

__init__()

plot_index_line(file, line_id[, table_df, ...])

Plot spectral line 'line_id'.

plot_index_lines(file, index[, table_df, ...])

Plot spectral lines and bandpasses used to calculate index 'index'.

run(files, indices[, obj_in, save_data, ...])

Run ACTIN for a list of fits files and indices.