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

Home » Public Forums » archive » How to create synthetic images of stars with gaussian psf in IDL.
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: How to create synthetic images of stars with gaussian psf in IDL. [message #92978 is a reply to message #92970] Mon, 04 April 2016 10:43 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 4/4/16 9:01 AM, Sonu Tabitha wrote:
> On Monday, April 4, 2016 at 1:13:27 PM UTC+5:30, Sonu Tabitha wrote:
>> I want to create a synthetic image to resemble a stellar field
>> (say covering an area of 255 by 255 pixels, with a total of about 4
>> stars having Gaussian PSF). The rest of the image has to be filled
>> with constant background and noise, as present in the entire image,
>> but devoid of stars. I want to create this to test a source
>> extraction algorithm that I have developed. I am a beginner in IDL.
>> Can you please help me out in coding?
>
> Is there any way to do it with FLTARR?

FLTARR just makes an array of floats (by default 0.0's) of a given size.
You might use it, but that will the least of your worries.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: filtering data data in .txt
Next Topic: Can you please explain me the meaning of the following IDL code?

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

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

Total time taken to generate the page: 0.00623 seconds