import numpy as np
import rasen

class SI_rasen():
    def __init__(self, npoints):
        self.npoints = npoints
        self.gss = rasen.generate_gss(npoints)
        self.relocated_gss = rasen.relocate(self.gss)
        self.coord = np.array([rasen.spherical2cartesian (c) for c in self.relocated_gss])

    def integral(self,my_inter_func,dr):
        newV = my_inter_func(self.coord * dr)
        V_average = np.average(newV)
        return V_average

if __name__ =="__main__":
    main()

c2dd08c864dc809cd0b9cba07be64bdc1c019b96
<mask token>


class SI_rasen:
    <mask token>
    <mask token>


<mask token>

<mask token>


class SI_rasen:

    def __init__(self, npoints):
        self.npoints = npoints
        self.gss = rasen.generate_gss(npoints)
        self.relocated_gss = rasen.relocate(self.gss)
        self.coord = np.array([rasen.spherical2cartesian(c) for c in self.
            relocated_gss])

    def integral(self, my_inter_func, dr):
        newV = my_inter_func(self.coord * dr)
        V_average = np.average(newV)
        return V_average


<mask token>

<mask token>


class SI_rasen:

    def __init__(self, npoints):
        self.npoints = npoints
        self.gss = rasen.generate_gss(npoints)
        self.relocated_gss = rasen.relocate(self.gss)
        self.coord = np.array([rasen.spherical2cartesian(c) for c in self.
            relocated_gss])

    def integral(self, my_inter_func, dr):
        newV = my_inter_func(self.coord * dr)
        V_average = np.average(newV)
        return V_average


if __name__ == '__main__':
    main()

import numpy as np
import rasen


class SI_rasen:

    def __init__(self, npoints):
        self.npoints = npoints
        self.gss = rasen.generate_gss(npoints)
        self.relocated_gss = rasen.relocate(self.gss)
        self.coord = np.array([rasen.spherical2cartesian(c) for c in self.
            relocated_gss])

    def integral(self, my_inter_func, dr):
        newV = my_inter_func(self.coord * dr)
        V_average = np.average(newV)
        return V_average


if __name__ == '__main__':
    main()

import numpy as np
import rasen

class SI_rasen():
    def __init__(self, npoints):
        self.npoints = npoints
        self.gss = rasen.generate_gss(npoints)
        self.relocated_gss = rasen.relocate(self.gss)
        self.coord = np.array([rasen.spherical2cartesian (c) for c in self.relocated_gss])

    def integral(self,my_inter_func,dr):
        newV = my_inter_func(self.coord * dr)
        V_average = np.average(newV)
        return V_average

if __name__ =="__main__":
    main()
