# Solid-body rotation wrapper potential¶

class galpy.potential.SolidBodyRotationWrapperPotential(*args, **kwargs)[source]

Potential wrapper class that implements solid-body rotation around the z-axis. Can be used to make a bar or other perturbation rotate. The potential is rotated by replacing

$\phi \rightarrow \phi + \Omega \times t + \mathrm{pa}$

with $$\Omega$$ the fixed pattern speed and $$\mathrm{pa}$$ the position angle at $$t=0$$.

__init__(amp=1.0, pot=None, omega=1.0, pa=0.0, ro=None, vo=None)[source]

NAME:

__init__

PURPOSE:

initialize a SolidBodyRotationWrapper Potential

INPUT:

amp - amplitude to be applied to the potential (default: 1.)

pot - Potential instance or list thereof; this potential is made to rotate around the z axis by the wrapper

omega= (1.) the pattern speed (can be a Quantity)

pa= (0.) the position angle (can be a Quantity)

OUTPUT:

(none)

HISTORY:

2017-08-22 - Started - Bovy (UofT)
{"ft_lang_label":"__label__en","ft_lang_prob":0.584576,"math_prob":0.9882051,"size":924,"snap":"2023-40-2023-50","text_gpt3_token_len":250,"char_repetition_ratio":0.14130434,"word_repetition_ratio":0.0,"special_character_ratio":0.27380952,"punctuation_ratio":0.14201184,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9807316,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-23T11:48:20Z\",\"WARC-Record-ID\":\"<urn:uuid:e3bf512f-5ddc-4f0d-be00-1c3db4e9f06a>\",\"Content-Length\":\"14828\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f7f5f04e-2d43-48bc-b18f-1ec04c05002a>\",\"WARC-Concurrent-To\":\"<urn:uuid:1ebcbe33-e27c-45c2-9221-f69b16d08b20>\",\"WARC-IP-Address\":\"104.17.32.82\",\"WARC-Target-URI\":\"https://docs.galpy.org/en/v1.9.0/reference/potentialsolidbodyrotationwrapper.html\",\"WARC-Payload-Digest\":\"sha1:3XZEKYYSSB6PYB4GOZHMIA7IKMACG4K7\",\"WARC-Block-Digest\":\"sha1:4FEVDG3UR2RCEXOST7B6CFY2JODIYBVC\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233506480.7_warc_CC-MAIN-20230923094750-20230923124750-00673.warc.gz\"}"}