comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: interpolating flux
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: interpolating flux [message #82918] Thu, 24 January 2013 11:41 Go to previous message
Russell Ryan is currently offline  Russell Ryan
Messages: 122
Registered: May 2012
Senior Member
I think you misunderstood Craig, if I can speak for him.

If you're working with a *TRUE* blackbody spectrum, then you know an exact analytic answer for the spectrum as a function of both temperature and wavelength. Why, then, do you want to interpolate? Instead of simply evaluating that *KNOWN* analytical expression at whatever temperatures and wavelengths you think are useful or compelling? For example, the planck() function in the astro library is probably what you want.

Russell



On Wednesday, January 23, 2013 3:26:03 PM UTC-5, idlhelp wrote:
> On Wednesday, January 23, 2013 5:15:12 PM UTC+1, Craig Markwardt wrote:
>
>> On Wednesday, January 23, 2013 7:06:51 AM UTC-5, idlhelp wrote:
>
>>
>
>>> Dear All,
>
>>
>
>>>
>
>>
>
>>> I have two black body spectra at different temperature i.e at 5000K and 5200K. Does anyone know How I can interpolate the flux of black body spectra between 5000K 5200K at a step of 50K.
>
>>
>
>>
>
>>
>
>> If it's a true black body spectrum, then consider that the spectrum can be computed exactly without interpolation.
>
>>
>
>> http://en.wikipedia.org/wiki/Planck%27s_law
>
>>
>
>>
>
>>
>
>> If you really want to use interpolation, I would recommend computing the ALOG10(flux) of your gridded spectra, interpolating those log-values, then converting back to flux.
>
>>
>
>>
>
>>
>
>> Craig
>
>
>
> thanks Craig, I didn't you properly, but my question is that how can I interpolate flux of two different synthetic spectra between two different temperature for e.g 1000K and 200K at a step of 50K i.e i want to create a new synthetic spectra at temperature 150K
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FFT phase?
Next Topic: 2D array as colour dot image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:13:28 PDT 2025

Total time taken to generate the page: 0.00210 seconds