rapidSTORM can fit both astigmatic and biplane 3D data by introducing an explicit Z parameter into the point spread function. It is assumed that the 2D Gaussian model describes the PSF and that the widths of the PSF in X and Y direction are functions of the emitter's Z coordinate. Two different models are supported for this function, a set of piecewise cubic functions or a single quartic function (polynomial model).