Skip to content

Array version of step function - #37

Merged
jherf merged 3 commits into
mainfrom
stepfunc_part1
Aug 28, 2026
Merged

jherf merged 3 commits into
mainfrom
stepfunc_part1

Conversation

@bensteinlubrano

Copy link
Copy Markdown
Collaborator

Step function (and scale_wrapper generally) now written with amplitude and scale parameters as a combined array.
Note that "_post_process_calculations" in Emis3D.py still assumes only two scale parameters, so if we want to use the step function on a device other than JET with more than 2 relevant scale parameters for a step function, that would probably need to be changed.

@bensteinlubrano

Copy link
Copy Markdown
Collaborator Author

Undid the change to scale_wrapper so that the pull request would pass the github test. So scale_step will only really be called with two amplitudes. But it's written in array form anyway so when we want to set up scale_wrapper for more than 2 amplitudes, for e.g. the DIII-D bolometers, the scale_step function is ready.

@jherf
jherf merged commit 2e09e24 into main Aug 28, 2026
2 checks passed
@jherf
jherf deleted the stepfunc_part1 branch August 28, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants