blond-org / blond_common

Collection of common functions and interfaces
GNU General Public License v3.0
3 stars 5 forks source link

inner separatrices in BLonD_Common #32

Closed scpalbright closed 4 years ago

scpalbright commented 4 years ago

Do we want inner separatrices as part of the BLonD_Common version of the bucket object? For now I have the calculation in the subclassed version of the bucket object on BLonD_Design, because I've only ever used it with LoCa I think. Let me know.

As a contrived example, here's how it looks for a PSB case with h=[1, 2, 3, 6] and a blend of voltages: image

scpalbright commented 4 years ago

I've decided to include this in the BLonD_Common version, the overhead is small and it simplifies creating bucket objects within the beam_parameters class.

We can look at what's involved when I do my next pull request, and if there's a good reason not to include it I'll put in a work around.