There are several different charge distributions used in the literature (2-parameter Fermi, 3-parameter Fermi, 2-parameter Fermi with Gaussian depression, Fourier Bessel, sum of Gaussians, etc.), but currently there is only support for the 2-parameter Fermi function. The Fermi distribution template should be changed to a general charge distribution template.
The different charge distributions should be stored somewhere in the file. There seem to be two main kinds: those with a fixed number of parameters (2pF, 3pF) and those with a variable number (FB, SoG). Either I should split these into two and allow for a dynamic number of coefficients for variable number of parameter functions, or just include a large number of parameters (20?) by default for the FB/SoG situation.
I believe that doing the former would make the data sloppier overall, although it would be easier to program. I will just go ahead and support a variable number of arguments.
There are several different charge distributions used in the literature (2-parameter Fermi, 3-parameter Fermi, 2-parameter Fermi with Gaussian depression, Fourier Bessel, sum of Gaussians, etc.), but currently there is only support for the 2-parameter Fermi function. The Fermi distribution template should be changed to a general charge distribution template.
The different charge distributions should be stored somewhere in the file. There seem to be two main kinds: those with a fixed number of parameters (2pF, 3pF) and those with a variable number (FB, SoG). Either I should split these into two and allow for a dynamic number of coefficients for variable number of parameter functions, or just include a large number of parameters (20?) by default for the FB/SoG situation.
I believe that doing the former would make the data sloppier overall, although it would be easier to program. I will just go ahead and support a variable number of arguments.