milespy.line_strength_indices

Line-strength index definitions and computation (Lick/IDS-style indices).

Functions

get(lsindex_names)

Alias for get_indices_from_database.

get_indices_from_database(index_name_list)

Load LineStrengthIndex instances from the database by name.

line_strength_index(indices, ll, flux, z[, ...])

Measure line-strength indices on a spectrum.

list_all()

Alias for list_all_indices.

list_all_indices()

Show all available line strength indices

lsindex(indeces, ll, flux, z[, plot, noise, ...])

Deprecated: use line_strength_index instead.

search(name)

Alias for search_indices_in_database.

search_indices_in_database(name)

Search for line-strength indices in the database by name (regex, case insensitive).

Classes

LineStrengthDict

LineStrengthIndex(name, index_type, ...)

Line-strength index definition (Lick/IDS-style bandpasses).

LineStrengthIndexConfig(**data)

Validated configuration for a line-strength index from the database.