def METHOD_NAME(self, wcspt, coords='data', naxispath=None):
    # force to array representation
    wcspt = np.asarray(wcspt)
    if naxispath is not None:
        n = len(naxispath)
        if n > 0:
            wcspt = np.hstack((wcspt, np.zeros((len(wcspt), n))))
    try:
        datapt = self.wcs.topixel(wcspt)
    except Exception as e:
        self.logger.error(
            "Error calculating wcspt_to_datapt: %s" % (str(e)))
        raise common.WCSError(e)
    if coords == 'data':
        # Kapteyn's WCS returns pixels referenced from 1
        datapt = datapt - 1.0
    return datapt