DESC
DESC copied to clipboard
Useful Tutorial/Examples
Listing here some ideas for useful things to have examples for, anyone feel free to add
- [ ] How to access/use automatic differentiation derivative information (say, if you loaded in a DESC eq to your other code, how can you access useful derivatives to avoid doing finite differences thru equilibria?) - would need to use JAX anyways -> related to #861
- [x] How to write an Objective Function : explain
buildmethod more, what passingderivs=to a transform means, why we need to copyiotaandpressurewhen an objective function depends on those two quantities (so if we modify the grid we don't modify the existign grid, which may be linear while we usually use ConcentricGrid for the collocation method) - [x] small example showing how to check the objective compute value (objective.compute(*objective.xs(eq)))
- [ ] Update dev_guide as current has since been added as well as an argument
- [x] explain how fixed current mode and fixed iota mode differ
created branch dev_guide to start writing explanations of various code design choices.
Would be useful to also include input here from @unalmis and @pkim1818 as the most recent people to learn how to develop the code, feel free to add things to the notebook in the branch
#328
Something where we at least show like what exactly jac_scaled is taking jacobian of could be useful.
#1304