UserDefinedFieldNormalizer is marked as DEPRECATED and will be removed in future versions
-
UserDefinedFieldNormalizer previously used for normalization is marked as DEPRECATED. Now, I wonder if it's feasible to normalize to 1mA? I noticed that the factor remains 1 across different simulations.
# Adding a new DataTableHTMLViewer output1 = current_extractor1.Outputs["Total Flux(J(x,y,z,f0))"] output1.Update() comp1 = output1.Data.GetComponent(0) flux1 = np.real(comp1)[0] inputs1 = [em_sensor_extractor1.Outputs["EM E(x,y,z,f0)"]] multiplier_filter = analysis.core.Multiplier(inputs=inputs1) multiplier_filter.Factor = 1.0 / (flux1 * 1000) multiplier_filter.Name = f"{value1}_{value2}_Normalize" multiplier_filter.UpdateAttributes() document.AllAlgorithms.Add(multiplier_filter) multiplier_filter.Outputs["EM E(x,y,z,f0)"].Update()
-
Hi, there aren't any known issues with the Multiplier tool that would prevent you from scaling your field by any arbitrary value.
Is it possible that in your script, you are using the same variable 'output1' for each case and as such are calculating the same value each time?
If you are still having issues, could you share your project and script with the support team via s4l-support@zmt.swiss?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login