Induced Polarization¶
Todo: docs for IP!
API for IP codes¶
Simulation¶
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation.BaseIPSimulation(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.base.BaseEMSimulationRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarysurvey (
BaseSurvey): a survey object, an instance of BaseSurvey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability, a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
property
sigma¶ Electrical conductivity (S/m)
-
property
rho¶ Electrical resistivity (Ohm m)
-
property
eta¶ Electrical Chargeability
-
property
etaMap¶ Mapping of Electrical Chargeability to the inversion model.
-
property
etaDeriv¶ Derivative of Electrical Chargeability wrt the model.
-
property
data_type¶ data_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: volt
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.FieldsDC
-
Ainv= None¶
-
storeJ= False¶
-
sign= None¶
-
gtgdiag= None¶
-
fields(m=None)[source]¶ u = fields(m) The field given the model. :param numpy.ndarray m: model :rtype: numpy.ndarray :return: u, the fields
-
Jvec(m, v, f=None)[source]¶ Jv = Jvec(m, v, f=None) Effect of J(m) on a vector v. :param numpy.ndarray m: model :param numpy.ndarray v: vector to multiply :param Fields f: fields :rtype: numpy.ndarray :return: Jv
-
property
deleteTheseOnModelUpdate¶ matrices to be deleted if the model maps for conductivity and/or permeability are updated
-
property
MfRhoDerivMat¶ Derivative of MfRho with respect to the model
-
property
MeSigmaDerivMat¶ Derivative of MeSigma with respect to the model
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DCellCentered(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation.BaseIPSimulation,SimPEG.electromagnetics.static.resistivity.simulation.Simulation3DCellCenteredRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): a DC survey object, an instance of Survey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability, a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.Fields3DCellCentered
-
sign= 1.0¶
-
bc_type= 'Dirichlet'¶
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DNodal(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation.BaseIPSimulation,SimPEG.electromagnetics.static.resistivity.simulation.Simulation3DNodalRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): a DC survey object, an instance of Survey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability, a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.Fields3DNodal
-
sign= -1.0¶
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation.Problem3D_N(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DNodalThis class has been deprecated, see Simulation3DNodal for documentation
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation.Problem3D_CC(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DCellCenteredThis class has been deprecated, see Simulation3DCellCentered for documentation
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.BaseIPSimulation2D(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.resistivity.simulation_2d.BaseDCSimulation2DRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): a DC survey object, an instance of Survey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
property
sigma¶ Electrical conductivity (S/m)
-
property
rho¶ Electrical resistivity (Ohm m)
-
property
eta¶ Electrical Chargeability (V/V)
-
property
etaMap¶ Mapping of Electrical Chargeability (V/V) to the inversion model.
-
property
etaDeriv¶ Derivative of Electrical Chargeability (V/V) wrt the model.
-
property
data_type¶ data_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: volt
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2D
-
sign= None¶
-
fields(m)[source]¶ u = fields(m) The field given the model. :param numpy.ndarray m: model :rtype: numpy.ndarray :return: u, the fields
-
property
deleteTheseOnModelUpdate¶ matrices to be deleted if the model maps for conductivity and/or permeability are updated
-
property
MeSigmaDerivMat¶ Derivative of MeSigma with respect to the model
-
MeSigmaDeriv(u, v, adjoint=False)[source]¶ Derivative of MeSigma with respect to the model times a vector (u)
-
property
MccRhoiDerivMat¶ Derivative of MccRho with respect to the model
-
property
MnSigmaDerivMat¶ Derivative of MnSigma with respect to the model
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DCellCentered(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.BaseIPSimulation2D,SimPEG.electromagnetics.static.resistivity.simulation_2d.Simulation2DCellCentered2.5D cell centered IP problem
Required Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): a DC survey object, an instance of Survey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2DCellCentered
-
bc_type= 'Mixed'¶
-
sign= 1.0¶
-
property
MfRhoDerivMat¶ Derivative of MfRho with respect to the model
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DNodal(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.BaseIPSimulation2D,SimPEG.electromagnetics.static.resistivity.simulation_2d.Simulation2DNodal2.5D nodal IP problem
Required Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): a DC survey object, an instance of Survey
Optional Properties:
eta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Map
Other Properties:
etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2DNodal
-
sign= -1.0¶
-
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DCellCentred[source]¶ alias of
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DCellCentered
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Problem2D_N(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DNodalThis class has been deprecated, see Simulation2DNodal for documentation
-
class
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Problem2D_CC(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DCellCenteredThis class has been deprecated, see Simulation2DCellCentered for documentation
API for Spectral IP codes¶
Simulation¶
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.BaseSIPSimulation(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.base.BaseEMSimulationRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Countermesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarysurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 0.5cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
property
sigma¶ Electrical conductivity (S/m)
-
property
rho¶ Electrical resistivity (Ohm m)
-
property
eta¶ Electrical Chargeability (V/V)
-
property
etaMap¶ Mapping of Electrical Chargeability (V/V) to the inversion model.
-
property
etaDeriv¶ Derivative of Electrical Chargeability (V/V) wrt the model.
-
property
tau¶ Time constant (s)
-
property
tauMap¶ Mapping of Time constant (s) to the inversion model.
-
property
tauDeriv¶ Derivative of Time constant (s) wrt the model.
-
property
taui¶ Inverse of time constant (1/s)
-
property
tauiMap¶ Mapping of Inverse of time constant (1/s) to the inversion model.
-
property
tauiDeriv¶ Derivative of Inverse of time constant (1/s) wrt the model.
-
property
c¶ Frequency dependency
-
property
cMap¶ Mapping of Frequency dependency to the inversion model.
-
property
cDeriv¶ Derivative of Frequency dependency wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.FieldsDC
-
Ainv= None¶
-
actinds= None¶
-
storeJ= False¶
-
actMap= None¶
-
n_pulse= 1¶
-
property
etaDeriv_store¶
-
property
tauiDeriv_store¶
-
property
tauDeriv_store¶
-
property
cDeriv_store¶
-
get_peta_eta_deriv_pulse_off(t)[source]¶ Compute derivative of pseudo-chargeability w.r.t eta from a single pulse waveform
-
get_peta_taui_deriv_pulse_off(t)[source]¶ Compute derivative of pseudo-chargeability w.r.t eta from a single pulse waveform
-
get_peta_c_deriv_pulse_off(t)[source]¶ Compute derivative of pseudo-chargeability w.r.t eta from a single pulse waveform
-
fields(m)[source]¶ u = fields(m) The field given the model. :param numpy.ndarray m: model :rtype: numpy.ndarray :return: u, the fields
-
Jvec(m, v, f=None)[source]¶ Jv = Jvec(m, v, f=None) Effect of J(m) on a vector v. :param numpy.ndarray m: model :param numpy.ndarray v: vector to multiply :param Fields f: fields :rtype: numpy.ndarray :return: Jv
-
Jtvec(m, v, f=None)[source]¶ Jtv = Jtvec(m, v, f=None) Effect of transpose of J(m) on a vector v. :param numpy.ndarray m: model :param numpy.ndarray v: vector to multiply :param Fields f: fields :rtype: numpy.ndarray :return: JTv
-
property
deleteTheseOnModelUpdate¶ matrices to be deleted if the model maps for conductivity and/or permeability are updated
-
property
MfRhoDerivMat¶ Derivative of MfRho with respect to the model
-
property
MeSigmaDerivMat¶ Derivative of MeSigma with respect to the model
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DCellCentered(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.BaseSIPSimulation,SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DCellCenteredRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 0.5cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.Fields3DCellCentered
-
sign= 1.0¶
-
bc_type= 'Neumann'¶
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DNodal(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.BaseSIPSimulation,SimPEG.electromagnetics.static.induced_polarization.simulation.Simulation3DNodalRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 0.5cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertyrho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields.Fields3DNodal
-
sign= -1.0¶
-
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DCellCentred[source]¶ alias of
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DCellCentered
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Problem3D_N(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DNodalThis class has been deprecated, see Simulation3DNodal for documentation
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Problem3D_CC(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.Simulation3DCellCenteredThis class has been deprecated, see Simulation3DCellCentered for documentation
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.BaseSIPSimulation2D(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.induced_polarization.simulation_2d.BaseIPSimulation2D,SimPEG.electromagnetics.static.spectral_induced_polarization.simulation.BaseSIPSimulationRequired Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 1.0cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
property
eta¶ Electrical Chargeability (V/V)
-
property
etaMap¶ Mapping of Electrical Chargeability (V/V) to the inversion model.
-
property
etaDeriv¶ Derivative of Electrical Chargeability (V/V) wrt the model.
-
property
tau¶ Time constant (s)
-
property
tauMap¶ Mapping of Time constant (s) to the inversion model.
-
property
tauDeriv¶ Derivative of Time constant (s) wrt the model.
-
property
taui¶ Inverse of time constant (1/s)
-
property
tauiMap¶ Mapping of Inverse of time constant (1/s) to the inversion model.
-
property
tauiDeriv¶ Derivative of Inverse of time constant (1/s) wrt the model.
-
property
c¶ Frequency dependency
-
property
cMap¶ Mapping of Frequency dependency to the inversion model.
-
property
cDeriv¶ Derivative of Frequency dependency wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2D
-
actinds= None¶
-
actMap= None¶
-
property
etaDeriv_store¶
-
property
tauiDeriv_store¶
-
property
tauDeriv_store¶
-
property
cDeriv_store¶
-
property
MfRhoDerivMat¶ Derivative of MfRho with respect to the model
-
property
MeSigmaDerivMat¶ Derivative of MeSigma with respect to the model
-
MeSigmaDeriv(u, v, adjoint=False)[source]¶ Derivative of MeSigma with respect to the model times a vector (u)
-
property
MnSigmaDerivMat¶ Derivative of MnSigma with respect to the model
-
MnSigmaDeriv(u, v, adjoint=False)[source]¶ Derivative of MnSigma with respect to the model times a vector (u)
-
property
MccRhoiDerivMat¶ Derivative of MccRho with respect to the model
-
property
deleteTheseOnModelUpdate¶ matrices to be deleted if the model maps for conductivity and/or permeability are updated
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DCellCentered(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.BaseSIPSimulation2D,SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DCellCentered2.5D cell centered Spectral IP problem
Required Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 1.0cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2DCellCentered
-
sign= 1.0¶
-
bc_type= 'Mixed'¶
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DNodal(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.BaseSIPSimulation2D,SimPEG.electromagnetics.static.induced_polarization.simulation_2d.Simulation2DNodal2.5D nodal Spectral IP problem
Required Properties:
counter (
Counter): A SimPEG.utils.Counter object, an instance of Counterdata_type (
StringChoice): IP data type, either “volt” or “apparent_chargeability”, Default: voltmesh (
BaseMesh): a discretize mesh instance, an instance of BaseMeshsensitivity_path (
String): path to store the sensitivty, a unicode string, Default: ./sensitivity/None
solver_opts (
Dictionary): solver options as a kwarg dict, a dictionarystoreJ (
Boolean): store the sensitivity matrix?, a boolean, Default: Falsesurvey (
Survey): an SIP survey object, an instance of Survey
Optional Properties:
c (
PhysicalProperty): Frequency dependency, a physical property, Default: 1.0cMap (
Mapping): Mapping of Frequency dependency to the inversion model., a SimPEG Mapeta (
PhysicalProperty): Electrical Chargeability (V/V), a physical propertyetaMap (
Mapping): Mapping of Electrical Chargeability (V/V) to the inversion model., a SimPEG Mapmodel (
Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*, *) or (*)mu (
PhysicalProperty): Magnetic Permeability (H/m), a physical property, Default: 1.25663706212e-06mui (
PhysicalProperty): Inverse Magnetic Permeability (m/H), a physical propertynky (
Integer): Number of kys to use in wavenumber space, an integer, Default: 11rho (
PhysicalProperty): Electrical resistivity (Ohm m), a physical propertyrhoMap (
Mapping): Mapping of Electrical resistivity (Ohm m) to the inversion model., a SimPEG Mapsigma (
PhysicalProperty): Electrical conductivity (S/m), a physical propertysigmaMap (
Mapping): Mapping of Electrical conductivity (S/m) to the inversion model., a SimPEG Maptau (
PhysicalProperty): Time constant (s), a physical property, Default: 0.1tauMap (
Mapping): Mapping of Time constant (s) to the inversion model., a SimPEG Maptaui (
PhysicalProperty): Inverse of time constant (1/s), a physical propertytauiMap (
Mapping): Mapping of Inverse of time constant (1/s) to the inversion model., a SimPEG Map
Other Properties:
cDeriv (
Derivative): Derivative of Frequency dependency wrt the model.etaDeriv (
Derivative): Derivative of Electrical Chargeability (V/V) wrt the model.rhoDeriv (
Derivative): Derivative of Electrical resistivity (Ohm m) wrt the model.sigmaDeriv (
Derivative): Derivative of Electrical conductivity (S/m) wrt the model.tauDeriv (
Derivative): Derivative of Time constant (s) wrt the model.tauiDeriv (
Derivative): Derivative of Inverse of time constant (1/s) wrt the model.
-
fieldsPair[source]¶ alias of
SimPEG.electromagnetics.static.resistivity.fields_2d.Fields2DNodal
-
sign= -1.0¶
-
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DCellCentred[source]¶ alias of
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DCellCentered
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Problem2D_N(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DNodalThis class has been deprecated, see Simulation2DNodal for documentation
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Problem2D_CC(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.simulation_2d.Simulation2DCellCenteredThis class has been deprecated, see Simulation2DCellCentered for documentation
Survey¶
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.survey.Survey(*args, **kwargs)[source]¶ Bases:
SimPEG.survey.BaseTimeSurveySpectral induced polarization survey
Required Properties:
counter (
Counter): A SimPEG counter object, an instance of Countersource_list (a list of
BaseSrc): A list of sources for the survey, a list (each item is an instance of BaseSrc)
-
n_pulse= 2¶
-
T= 8.0¶
-
property
source_list¶ source_list (a list of
BaseSrc): A list of sources for the survey, a list (each item is an instance of BaseSrc)
-
property
n_locations¶
-
SimPEG.electromagnetics.static.spectral_induced_polarization.survey.from_dc_to_sip_survey(survey_dc, times)[source]¶ Generate sip survey from dc survey
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.BaseRx(*args, **kwargs)[source]¶ Bases:
SimPEG.survey.BaseTimeRxRequired Properties:
data_type (
StringChoice): Type of DC-IP survey, any of “volt”, “apparent_resistivity”, “apparent_chargeability”, Default: voltlocations (
RxLocationArray): Locations of the receivers (nRx x nDim), an array of receiver locations of <class ‘float’>, <class ‘int’> with shape (*, *)orientation (
StringChoice): orientation of the receiver. Must currently be ‘x’, ‘y’, ‘z’, any of “x”, “y”, “z”projField (
StringChoice): field to be projected in the calculation of the data, any of “phi”, “e”, “j”, Default: phiprojTLoc (
StringChoice): location on the time mesh where the data are projected from, either “N” or “CC”, Default: NstoreProjections (
Boolean): Store calls to getP (organized by mesh), a boolean, Default: Truetimes (
Array): times where the recievers measure data, a list or numpy array of <class ‘float’>, <class ‘int’> with shape (*)
-
property
orientation¶ orientation (
StringChoice): orientation of the receiver. Must currently be ‘x’, ‘y’, ‘z’, any of “x”, “y”, “z”
-
property
projField¶ projField (
StringChoice): field to be projected in the calculation of the data, any of “phi”, “e”, “j”, Default: phi
-
property
data_type¶ data_type (
StringChoice): Type of DC-IP survey, any of “volt”, “apparent_resistivity”, “apparent_chargeability”, Default: volt
-
property
dc_voltage¶
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.Dipole(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.BaseRxDipole receiver
Required Properties:
data_type (
StringChoice): Type of DC-IP survey, any of “volt”, “apparent_resistivity”, “apparent_chargeability”, Default: voltlocations (a list of
RxLocationArray): list of locations of each electrode in a dipole receiver, a list (each item is an array of receiver locations of <class ‘float’>, <class ‘int’> with shape (*, *)) with length between 1 and 2orientation (
StringChoice): orientation of the receiver. Must currently be ‘x’, ‘y’, ‘z’, any of “x”, “y”, “z”projField (
StringChoice): field to be projected in the calculation of the data, any of “phi”, “e”, “j”, Default: phiprojTLoc (
StringChoice): location on the time mesh where the data are projected from, either “N” or “CC”, Default: NstoreProjections (
Boolean): Store calls to getP (organized by mesh), a boolean, Default: Truetimes (
Array): times where the recievers measure data, a list or numpy array of <class ‘float’>, <class ‘int’> with shape (*)
-
property
locations¶ locations (a list of
RxLocationArray): list of locations of each electrode in a dipole receiver, a list (each item is an array of receiver locations of <class ‘float’>, <class ‘int’> with shape (*, *)) with length between 1 and 2
-
property
locations_m¶ Locations of the M-electrodes
-
property
locations_n¶ Locations of the N-electrodes
-
property
nD¶ Number of data in the receiver.
-
property
nRx¶ nD.nRx has been deprecated. See nD for documentation
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.Pole(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.BaseRxPole receiver
Required Properties:
data_type (
StringChoice): Type of DC-IP survey, any of “volt”, “apparent_resistivity”, “apparent_chargeability”, Default: voltlocations (
RxLocationArray): Locations of the receivers (nRx x nDim), an array of receiver locations of <class ‘float’>, <class ‘int’> with shape (*, *)orientation (
StringChoice): orientation of the receiver. Must currently be ‘x’, ‘y’, ‘z’, any of “x”, “y”, “z”projField (
StringChoice): field to be projected in the calculation of the data, any of “phi”, “e”, “j”, Default: phiprojTLoc (
StringChoice): location on the time mesh where the data are projected from, either “N” or “CC”, Default: NstoreProjections (
Boolean): Store calls to getP (organized by mesh), a boolean, Default: Truetimes (
Array): times where the recievers measure data, a list or numpy array of <class ‘float’>, <class ‘int’> with shape (*)
-
property
nD¶ Number of data in the receiver.
-
property
nRx¶ nD.nRx has been deprecated. See nD for documentation
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.sources.BaseSrc(*args, **kwargs)[source]¶ Bases:
SimPEG.survey.BaseSrcRequired Properties:
current (
Float): Source current, a float, Default: 1.0receiver_list (a list of
BaseRx): receiver list, a list (each item is an instance of BaseRx)
Optional Properties:
location (
SourceLocationArray): Location of the source [x, y, z] in 3D, a 1D array denoting the source location of <class ‘float’>, <class ‘int’> with shape (*)
-
property
nD¶ Number of data
-
property
vnD¶ Vector number of data
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.sources.Dipole(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.sources.BaseSrcDipole source
Required Properties:
current (
Float): Source current, a float, Default: 1.0location (a list of
SourceLocationArray): location of the source electrodes, a list (each item is a 1D array denoting the source location of <class ‘float’>, <class ‘int’> with shape (*))receiver_list (a list of
BaseRx): receiver list, a list (each item is an instance of BaseRx)
-
property
loc¶ loc has been deprecated. See location for documentation
-
property
location¶ location (a list of
SourceLocationArray): location of the source electrodes, a list (each item is a 1D array denoting the source location of <class ‘float’>, <class ‘int’> with shape (*))
-
property
location_a¶ Location of the A-electrode
-
property
location_b¶ Location of the B-electrode
-
class
SimPEG.electromagnetics.static.spectral_induced_polarization.sources.Pole(*args, **kwargs)[source]¶ Bases:
SimPEG.electromagnetics.static.spectral_induced_polarization.sources.BaseSrcPole source
Required Properties:
current (
Float): Source current, a float, Default: 1.0receiver_list (a list of
BaseRx): receiver list, a list (each item is an instance of BaseRx)
Optional Properties:
location (
SourceLocationArray): Location of the source [x, y, z] in 3D, a 1D array denoting the source location of <class ‘float’>, <class ‘int’> with shape (*)