4.6.1.2.6. eqcorrscan.core.bright_lights._node_loop

eqcorrscan.core.bright_lights._node_loop(stations, lags, stream, clip_level, i=0, mem_issue=False, instance=0, plot=False)[source]

Internal function to allow for brightness to be paralleled.

Parameters:
  • stations (list) – List of stations to use.
  • lags (numpy.ndarray) – List of lags where lags[i[:]] are the lags for stations[i].
  • stream (obspy.core.stream.Stream) – Data stream to find the brightness for.
  • clip_level (float) – Upper limit for energy as a multiplier to the mean energy.
  • i (int) – Index of loop for parallelisation.
  • mem_issue (bool) – If True will write to disk rather than storing data in RAM.
  • instance (int) – instance for bulk parallelisation, only used if mem_issue=true.
  • plot (bool) – Turn plotting on or off, defaults to False.
Returns:

index

Return type:

int

Returns:

network response

Return type:

numpy.ndarray