Historically slits have been invaluable in teaching, research, and theory validation in both electromagnetic and quantum mechanics but conceptually they differ from what we can actually build based on the physical properties of matter because the canonical slit perfectly absorbs an incident wave in an infinitely thin layer without reflection or induced phase shifts.
This simple implementation also results in discontinuities in the amplitude at the slit edge. We know this is wrong but we still get pretty good results when matching up the resulting calculated pattern produced from a hard-edged infinitely thin theoretical binary slit that just multiplies the incoming wave by either unity inside the slit opening or zero outside.
Question: Have more sophisticated analytical models of slits been suggested that will function similarly but take steps to be more physically realistic in terms of finite thickness and reduced discontinuity?
Just as an illustrative example $\frac{1}{2} \text{erf}\left(\frac{x+1}{\sigma}\right) - \frac{1}{2}\text{erf}\left(\frac{x-1}{\sigma}\right)$ looks a little "softer" than a pair of step functions, but I don't know if it is any better or worse in terms of the wave mechanics.
Notes:
- As pointed out in comments I'm really asking about modeling single edges; this could apply to the edges of rectangular or circular apertures, or even diffraction from a single straight edge.
- Answers that addresses either an electromagnetic wave or a matter wave (e.g. atoms) are welcome.
- I've asked about analytical models for slits rather than constructs used in finite element analysis, but there may be something to be learned from those impedance-matched constructs.
- Answers to In the double slit experiment what, exactly, is a slit? don't go far enough to answer this question.