<commit_before>###############################################################################
#   diskdf.py: module that interprets (E,Lz) pairs in terms of a 
#              distribution function
#
#   This module contains the following classes:
#
#      diskdf - top-level class that represents a distribution function
#      dehnendf - inherits from diskdf, implements Dehnen's 'new' DF
#      shudf - inherits from diskdf, implements Shu's DF
#      DFcorrection - class that represents corrections to the input Sigma(R)
#                     and sigma_R(R) to get closer to the targets
###############################################################################
_EPSREL=10.**-14.
_NSIGMA= 4.
_INTERPDEGREE= 3
_RMIN=10.**-10.
import copy
import os, os.path
import cPickle as pickle
import math as m
import scipy as sc
import scipy.integrate as integrate
import scipy.interpolate as interpolate
from surfaceSigmaProfile import *
from galpy.orbit.Orbit import Orbit
_CORRECTIONSDIR=os.path.join(os.path.dirname(os.path.realpath(__file__)),'data')
print _CORRECTIONSDIR
class diskdf:
    """Class that represents a disk DF"""
    def __init__(self,dftype='dehnen',
                 surfaceSigma=expSurfaceSigmaProfile,
                 profileParams=(1./3.,1.0,0.2),
                 correct=False,
                 beta=0.,**kwargs):
        """
        NAME:<commit_msg>galpy: new dependency<commit_after>###############################################################################
#   diskdf.py: module that interprets (E,Lz) pairs in terms of a 
#              distribution function
#
#   This module contains the following classes:
#
#      diskdf - top-level class that represents a distribution function
#      dehnendf - inherits from diskdf, implements Dehnen's 'new' DF
#      shudf - inherits from diskdf, implements Shu's DF
#      DFcorrection - class that represents corrections to the input Sigma(R)
#                     and sigma_R(R) to get closer to the targets
###############################################################################
_EPSREL=10.**-14.
_NSIGMA= 4.
_INTERPDEGREE= 3
_RMIN=10.**-10.
import copy
import os, os.path
import cPickle as pickle
import math as m
import scipy as sc
import scipy.integrate as integrate
import scipy.interpolate as interpolate
from surfaceSigmaProfile import *
from galpy.orbit import Orbit
_CORRECTIONSDIR=os.path.join(os.path.dirname(os.path.realpath(__file__)),'data')
class diskdf:
    """Class that represents a disk DF"""
    def __init__(self,dftype='dehnen',
                 surfaceSigma=expSurfaceSigmaProfile,
                 profileParams=(1./3.,1.0,0.2),
                 correct=False,
                 beta=0.,**kwargs):
        """
        NAME:
{'fraction_non_alphanumeric': 0.1966374269005848, 'fraction_numerical': 0.012426900584795321, 'mean_word_length': 3.40032154340836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1978092', 'n_tokens_mistral': 809, 'n_tokens_neox': 755, 'n_words': 229}