import math


def quartic_raw(distance: float, radius: float, weight: float = 1) -> float:
    """Calculate raw Quartic KDE value"""
    return weight * (math.pow(1.0 - math.pow(distance / radius, 2), 2))