VOTE - v4 new names for getBv and getHv
See original GitHub issueUnfortunately v3 was a bit premature.
With Box
-> Cuboid
(its a must) the API is broken and we have to move to v4.0.0 with the next patch. After a thorough review of all features (see #360 ) the only remaining namechange must be of getBv
and getHv
.
These top-level functions avoid the object oriented interface and give direct access to the analytical formulas based on complex dictionary inputs. Its the fastest way to compute the field in Magpylib if you know how to vectorize code properly (but even then not much faster than the object oriented interface).
Please propose names @lucasgcb @pribossek @Alexboiboi
getB_direct
?
getB_a_little_faster
?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Check Voter Registration Deadlines and Laws in Your State ...
Official voter registration website of the US federal government. Register to vote. Learn the voting registration deadlines and laws in your state.
Read more >My Vote WI
Next Statewide Election · Become a Poll Worker. Interested in helping elections in your community? · Election Results. In Wisconsin, unofficial election night ......
Read more >Get Out the Vote (GOTV) - YWCA USA
Check your state or local election office's website to find registration deadlines and early voting information, to request an absentee ballot. Tip: Make...
Read more >Voter Registration - California Secretary of State
In California, the deadline to register to vote for any election is 15 days before Election Day, so please register early!
Read more >What is GOTV? - Ballotpedia
Get out the vote refers to two distinct kinds of campaigning: Voter registration drives not specific to an election outcome. Efforts to increase...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lucasgcb Well in Magpylib2 we added vectorized code for the first time in the
getB_Box_vector()
functions. The namegetBv()
derivates from that as the functionality (dictionary input) is quite similar. However, now everything is vectorized automatically all the time andgetBv()
is just there for users who want to squeeze out all possible performance by avoiding the object oriented interface overhead. The performance gain is not massive anymore (factor 1.1-2), and you only get that if you properly generate the input usingnp.tile
and similar commands instead offor
loops.completed with #375