FUNCTION darklimb_r,ll,bandpass,func ;---------------------------------------------------------------------------- ;NAME: ; darklimb_r ;PURPOSE: ; Returns the constants, u or v, for a given central wavelength and ; wavelength range (bandpass) for input into the limb darkening function ; (see LIMBDARK_COR and LIMBDARK_PLOT) ;CALLING SEQUENCE: ; u = darklimb_r(lambda,bandpass,'darklimb_u') ; v = darklimb_r(lambda,bandpass,'darklimb_v') ;INPUT: ; ll - central wavelength of interest in Angstroms ; bandpass - wavelength range required, centred on ll ; func - string specifying the function which returns the appropriate constant ;OPTIONAL INPUT: ;OUTPUT: ; required constant in Allen's limb darkening expression ;OPTIONAL OUTPUT: ;RESTRICTIONS: ; Only applies to wavelengths in the range 4000