We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ParametrizedAmplitude
1 parent 1f575a2 commit 869b1c9Copy full SHA for 869b1c9
src/pulse_parametrizations.jl
@@ -239,7 +239,7 @@ function ParametrizedAmplitude(
239
end
240
else
241
if (control isa Vector{Float64}) && (shape isa Vector{Float64})
242
- return ShapedParametrizedPulseAmplitude(control, shape)
+ return ShapedParametrizedPulseAmplitude(control, shape, parametrization)
243
244
try
245
ϵ_t = control(0.0)
@@ -255,7 +255,7 @@ function ParametrizedAmplitude(
255
"A ParametrizedAmplitude shape must either be a vector of values or a callable"
256
)
257
258
- return ShapedParametrizedContinuousAmplitude(control, shape)
+ return ShapedParametrizedContinuousAmplitude(control, shape, parametrization)
259
260
261
0 commit comments