<commit_before># galpy.potential.amuse: AMUSE representation of galpy potentials
# amuse imports first
from .. import potential
from ..util import bovy_conversion

import numpy

#Import exactly what exactly needs to be important

from amuse.lab import units,ScalarQuantity
from amuse.support.literature import LiteratureReferencesMixIn

class galpy_profile(LiteratureReferencesMixIn):
    """
    User-defined potential from GALPY
    
    .. [#] <NAME>; ApJSS, Volume 216, Issue 2, article id. 29, 27 pp. (2015)
    
    """
    def __init__(self,pot, t = 0., tgalpy = 0., ro=8, vo=220., reverse=False):
        """
        NAME:

           __init__

        PURPOSE:

           initialize a GALPY potential for use with AMUSE

        INPUT:

           pot - GALPY potential

           t - start time for AMUSE simulation (can be Quantity)

           tgalpy - start time for GALPY potential, can be less than zero (can be Quantity)<commit_msg>Update literature reference to be more consistent with AMUSE versions<commit_after># galpy.potential.amuse: AMUSE representation of galpy potentials
# amuse imports first
from .. import potential
from ..util import bovy_conversion

import numpy

#Import exactly what exactly needs to be important

from amuse.lab import units,ScalarQuantity
from amuse.support.literature import LiteratureReferencesMixIn

class galpy_profile(LiteratureReferencesMixIn):
    """
    User-defined potential from GALPY
    
    .. [#] <NAME>, 2015, galpy: A Python Library for Galactic Dynamics, Astrophys. J. Supp. 216, 29 [2015ApJS..216...29B]
    
    """
    def __init__(self,pot, t = 0., tgalpy = 0., ro=8, vo=220., reverse=False):
        """
        NAME:

           __init__

        PURPOSE:

           initialize a GALPY potential for use with AMUSE

        INPUT:

           pot - GALPY potential

           t - start time for AMUSE simulation (can be Quantity)

           tgalpy - start time for GALPY potential, can be less than zero (can be Quantity)
{'fraction_non_alphanumeric': 0.0769615192403798, 'fraction_numerical': 0.020989505247376312, 'mean_word_length': 2.728119180633147, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2098307', 'n_tokens_mistral': 621, 'n_tokens_neox': 546, 'n_words': 211}