def computeFBZ(layer, catalog, mindepth=eqcatalog.CUT_DEPTH_MIN, maxdepth=eqcatalog.CUT_DEPTH_MAX, ui_mode=True): """Compute attributes on selected features of FBZ layer.""" # check that at least one feature is selected if not utils.check_at_least_one_feature_selected(layer): return
def computeASZ(layer, catalog, mindepth=eqcatalog.CUT_DEPTH_MIN, maxdepth=eqcatalog.CUT_DEPTH_MAX, ui_mode=True): """Compute attributes on selected features of ASZ layer.""" # check that at least one feature is selected if not utils.check_at_least_one_feature_selected(layer): return updateASZAtticIvy(layer, catalog, mindepth, maxdepth, ui_mode) updateASZMaxLikelihoodAB() updateASZMomentRate()
def computeFSZ(layer_fault, layer_fault_background=None, layer_background=None, catalog=None, catalog_time_span=None, b_value=None, mmin=atticivy.ATTICIVY_MMIN, m_threshold=recurrence.FAULT_BACKGROUND_MAG_THRESHOLD, mindepth=eqcatalog.CUT_DEPTH_MIN, maxdepth=eqcatalog.CUT_DEPTH_MAX, ui_mode=True): """Compute attributes on selected features of ASZ layer.""" # check that at least one feature is selected if not utils.check_at_least_one_feature_selected(layer_fault): return updateFSZRecurrence(layer_fault, layer_fault_background, layer_background, catalog, catalog_time_span, b_value, mmin, m_threshold, mindepth, maxdepth, ui_mode) updateFSZMaxLikelihoodAB() updateFSZMomentRate()