def create_custom_prior_for(model, par, transform, aftertransform=lambda x: x):
    """
	Pass your own prior weighting transformation
	"""
    print('  custom prior for %s' % par.name)
    return dict(model=model, index=par._Parameter__index, name=par.name,
        transform=transform, aftertransform=aftertransform)
