Welcome to iraf.net Tuesday, May 07 2024 @ 10:42 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 BPM via ds9
   
csblack
 07/07/2011 10:37PM (Read 2202 times)  
+----
Newbie

Status: offline


Registered: 07/07/2011
Posts: 4
Hi,I'm trying to create BPM using regions with ds9 and I can't figure it out. I'm pretty sure I'm just missing something obvious. I'm doing surface photometry and I want to mask out the bright stars in the near vicinity of my object. I've saved my regions in ds9 as .reg files and tried running them through text2mask and badpiximage, but the resulting masks are just flat images. The regions I've marked haven't been marked as bad.What's the mistake I've made? Any help would be greatly appreciated. I'm using V2.14
Cheers

 
Profile Email
 Quote
fitz
 07/07/2011 10:37PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Exactly what is in the .reg file you created? Note that DS9 regions use keywords such as [code:1:ca93a6099c]circle <x> <y> <radius>[/code:1:ca93a6099c]whereas a task like text2mask does simple points or rectangles and expects only center/corner pixel positions.There may be other tasks more suited to creating the mask file within IRAF, in general support for DS9 regions files is pretty sparse. See for example OBJMASK or MSKEXPR or MSKREGIONS (or other tasks listed by a "cl> refer mask" command).

 
Profile Email
 Quote
csblack
 07/07/2011 10:37PM  
+----
Newbie

Status: offline


Registered: 07/07/2011
Posts: 4
The .reg file looks like this
[code:1:a116ac91bd]
circle(x,y,radius)
[/code:1:a116ac91bd]mskregions worked with the DS9 regions. Thanks!

 
Profile Email
 Quote
   
Content generated in: 0.17 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login