section d of routines in rays.i Home

Manual

Packages

Global Index

Keywords

Quick Reference

# functions in rays.i - d

 dirt_rays ``` dirt_rays(rays) returns 3-element (x,y,theta) representation of RAYS. The first dimension of RAYS may be length 3, 5, or 6 to represent the ray(s) in TDG/DIRT coordinates (x,y,theta), "best" coordinates (x,y,z,theta,phi), or internal coordinates (cos,sin,y,z,x,r), respectively. The first dimension of the result always has length 3. The TDG/DIRT coordinate system is based on the coordinates (x,y) in a plane normal to the ray. Unfortunately, the old TDG and DIRT codes used an angle theta which has the opposite sense from the "best" and internal coordinates. Therefore, conversion from TDG/DIRT coordinates to internal coordinates will reverse the sign of theta. Conversion from TDG/DIRT coordinates to "best" coordinates always results in positive theta, but the angle phi will be pi for positive input theta. The slimits parameter -- used to specify the points along a ray where the transport integration starts and stops -- is measured from the point of closest approach of the ray described by (x,y,theta) to the origin x=y=z=0. Therefore, slimits is independent of the TDG/DIRT ray coordinate representation. interpreted function, defined at i/rays.i line 97 ``` SEE ALSO: form_rays,   best_rays,   internal_rays,   get_s0,   picture_rays
{"ft_lang_label":"__label__en","ft_lang_prob":0.6387092,"math_prob":0.94494367,"size":1180,"snap":"2021-04-2021-17","text_gpt3_token_len":301,"char_repetition_ratio":0.15731293,"word_repetition_ratio":0.0,"special_character_ratio":0.2220339,"punctuation_ratio":0.15,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9546618,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-19T23:06:33Z\",\"WARC-Record-ID\":\"<urn:uuid:6a19509a-9831-44df-9c87-507508378f0e>\",\"Content-Length\":\"3267\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7a70437b-574f-4b94-a29e-f6e2ed313080>\",\"WARC-Concurrent-To\":\"<urn:uuid:22ff4222-5957-4b6d-89aa-09280ecaf1c8>\",\"WARC-IP-Address\":\"73.39.130.200\",\"WARC-Target-URI\":\"http://ww.gnu-darwin.org/ProgramDocuments/html_xref/rays-ds.html.body\",\"WARC-Payload-Digest\":\"sha1:CWWZPWVOJYHBRBTYXYRUWZZWONCDAZVE\",\"WARC-Block-Digest\":\"sha1:A2C6B7ZZJCNPB6NNDIBRLOYPAMXMB4VW\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038917413.71_warc_CC-MAIN-20210419204416-20210419234416-00101.warc.gz\"}"}