Commit eac8a311 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fixes

parent f103534f
Pipeline #72237 passed with stages
in 20 minutes and 13 seconds
......@@ -52,7 +52,7 @@ if __name__ == '__main__':
A = ift.create_power_operator(harmonic_space, sqrtpspec)
# Set up a sky operator and instrumental response
sky = ift.sigmoid(HT(A))
sky = HT(A).ptw("sigmoid")
GR = ift.GeometryRemover(position_space)
R = GR
......
......@@ -84,7 +84,7 @@ if __name__ == '__main__':
DC = SingleDomain(correlated_field.target, position_space)
## Apply a nonlinearity
signal = DC @ ift.sigmoid(correlated_field)
signal = DC @ correlated_field.ptw("sigmoid")
# Build the line-of-sight response and define signal response
LOS_starts, LOS_ends = random_los(100) if mode == 0 else radial_los(100)
......@@ -170,7 +170,7 @@ if __name__ == '__main__':
filename_res = filename.format("results")
plot = ift.Plot()
plot.add(sc.mean, title="Posterior Mean")
plot.add(ift.sqrt(sc.var), title="Posterior Standard Deviation")
plot.add(sc.var.ptw("sqrt"), title="Posterior Standard Deviation")
powers1 = [A1.force(s + KL.position) for s in KL.samples]
powers2 = [A2.force(s + KL.position) for s in KL.samples]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment