parameters: (hl, k)
return_statement: return np.bitwise_and((hl > 1e16),
                            np.bitwise_or(np.isnan(k), np.isinf(k))
                            )
docstring: Elementwise mask for whether a nuclide is almost stable
docstring_summary: Elementwise mask for whether a nuclide is almost stable
docstring_tokens: Elementwise mask for whether a nuclide is almost stable
function: def almost_stable_mask(hl, k):
      """Elementwise mask for whether a nuclide is almost stable"""
      return np.bitwise_and((hl > 1e16),
                            np.bitwise_or(np.isnan(k), np.isinf(k))
                            )
function_tokens: def almost_stable_mask ( hl , k ) : return np . bitwise_and ( ( hl > 1e16 ) , np . bitwise_or ( np . isnan ( k ) , np . isinf ( k ) ) )