Skip to content
Snippets Groups Projects
Commit eac8a311 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fixes

parent f103534f
No related branches found
No related tags found
1 merge request!440Rework of pointwise operations
Pipeline #72237 passed
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment