fiasco currently only supports version 8 of the CHIANTI database.

vectorize_where_sum#

fiasco.util.vectorize_where_sum(x_1, x_2, y, axis=None)[source]#

Find all occurrences of one array in another and sum over a third

Parameters:
  • x_1 (array-like) – Array to search through

  • x_2 (array-like) – Values to search for

  • y (array-like)

  • axis (int, optional) – Axis to sum over