# galpy.df.diskdf.surfacemassLOS¶

diskdf.surfacemassLOS(d, l, deg=True, target=True, romberg=False, nsigma=None, relative=None)[source]

NAME:

surfacemassLOS

PURPOSE:

evaluate the surface mass along the LOS given l and d

INPUT:

d - distance along the line of sight (can be Quantity)

l - Galactic longitude (in deg, unless deg=False; can be Quantity)

OPTIONAL INPUT:

nsigma - number of sigma to integrate the velocities over

KEYWORDS:

target= if True, use target surfacemass (default)

romberg - if True, use a romberg integrator (default: False)

deg= if False, l is in radians

OUTPUT:

Sigma(d,l) x d

HISTORY:

2011-03-24 - Written - Bovy (NYU)
{"ft_lang_label":"__label__en","ft_lang_prob":0.5212239,"math_prob":0.9447433,"size":641,"snap":"2023-14-2023-23","text_gpt3_token_len":188,"char_repetition_ratio":0.12401884,"word_repetition_ratio":0.0,"special_character_ratio":0.24648985,"punctuation_ratio":0.18897638,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96940994,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-08T06:07:27Z\",\"WARC-Record-ID\":\"<urn:uuid:87d113fa-caad-4ec3-8dcd-d1287b9676a2>\",\"Content-Length\":\"12394\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2e488778-b6ca-4ce9-970f-f78e7c812714>\",\"WARC-Concurrent-To\":\"<urn:uuid:eb718cb3-04c2-4ee5-8988-7dd5c153cc80>\",\"WARC-IP-Address\":\"104.17.33.82\",\"WARC-Target-URI\":\"https://docs.galpy.org/en/v1.8.3/reference/diskdfsurfacemassLOS.html\",\"WARC-Payload-Digest\":\"sha1:F4DS3FIK2MYTPLS7ALZDEUXFPLKG5LBC\",\"WARC-Block-Digest\":\"sha1:OK4LBN5ICHGDBFASILXWCHLYSKIO6GCT\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224654097.42_warc_CC-MAIN-20230608035801-20230608065801-00679.warc.gz\"}"}