code: def createRatModuleFromReadoutResolution(inverseReadoutResolution, scale,
                                           enlargeModuleFactor=1.,
                                           fixedScale=False, **kwargs):
    
  
    params = computeRatModuleParametersFromReadoutResolution(inverseReadoutResolution,
                                                             enlargeModuleFactor)
    params.update(kwargs)
    params["scale"] = (scale if fixedScale else scale * enlargeModuleFactor)
    return ThresholdedGaussian2DLocationModule(**params)
docs: @param inverseReadoutResolution (int or float)
    Equivalent to 1/readoutResolution, but specified this way as a convenience
    (because it's easier and less ambiguous to type 3 than to type 0.3333333). The
    readout resolution specifies the diameter of the circle of phases in the
    rhombus encoded by a bump. So when a bump of activity is converted into a set
    of active cells, this circle of active cells will have a diameter of at least
    this amount.
  
    @param enlargeModuleFactor (float)
    A multiplicative factor that's used to simulate the effect of having a larger
    module, keeping the bump size fixed but making the module larger, so that the
    bump is smaller relative to the size of the module. Equivalently, this shrinks
    the bump, increases the precision of the readout, adds more cells, and
    increases the scale so that the bump is the same size when overlayed on the
    real world.
  
    @param fixedScale (bool)
    By default, the enlargeModuleFactor will increase the scale, effectively
    holding the bump size constant relative to physical space. Set this to True to
    hold the scale constant, so enlarging the module causes the bump size to
    shrink relative to physical space.