altar.models.seismic.cuda.cudaKinematicGCp
Module Contents
Classes
- class altar.models.seismic.cuda.cudaKinematicGCp.cudaKinematicGCp
Bases:
altar.models.seismic.cuda.cudaKinematicG.cudaKinematicGKinematicG inversion with Cp (prediction error due to model parameter uncertainty)
- nCmu
- doc = the number of model parameters with uncertainties (or to be considered)
- cmu_file
- doc = the covariance describing the uncertainty of model parameter, a nCmu x nCmu matrix
- kmu_file
- doc = the sensitivity kernel of model parameters, a hdf5 file including nCmu kernel data sets
- initial_model_file
- doc = the initial mean model
- beta_cp_start
- doc = for beta >= beta_cp_start, incorporate Cp into Cd
- beta_use_initial_model
- doc = for beta <= beta_use_initial_model, use initial_model instead of mean model
- mean_model
- initialize(self, application)
Initialize the state of the model given a {problem} specification
- initializeCp(self)
- Returns:
- updateModel(self, annealer)
Model method called by Sampler before Metropolis sampling for each beta step starts, employed to compute Cp and merge Cp with data covariance :param annealer: the annealer for application :return: True or False if model parameters are updated or remain the same
- computeCp(self, model, cp=None)
Compute Cp with a mean model :param model: :return: