tlpipe.timestream.ps_cal.PsCal.stop_iteration

PsCal.stop_iteration(force_stop=False)[source]

Determine whether to stop the iteration.

Return True if this is the second iteration in the non-iterable case, or when run out of the given iteration numbers in the iterable case, or when force_stop is True.