View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

crnebula: how can i set ncsig/nlsig ??

mikewong wrote on Sep 01, 2009

hello,

i've used crutils.crnebula before with good results, and now i'm working with data that have a "nebula" with a bimodal brightness distribution. i think crnebula could handle this without rejecting my "nebular" structure, if only i could get it to estimate empirical variance in a large enough ncsig x nlsig box.

i'm not sure, but i think these parameters are hardwired to 25 x 25 and are just passed to crmedian from within crnebula. is there any way around this? i would like to try using 200 x 200.

thanks !!

Mike Fitzpatrick wrote on Sep 01, 2009

You are right that the values to CRMEDIAN are hardwired into the CRNEBULA script. The simplest way to increase the size is to make your own copy of the script and edit the change, e.g.


cl> copy crutil$crnebula.cl home$mycrnebula.cl
cl> edit home$mycrnebula.cl
    .... change the 25 to 200
cl> task mycrnebula  = home$mycrnebula.cl


Frank will see this and may decide to make these values changeable as parameters for a future release.

Cheers,
-Mike

mikewong wrote on Sep 01, 2009

mr/mrs fitz, i did not know how to customize iraf tasks so this was a very helpful response. thanks a lot for the timely tip !!

Last post on Sep 01, 2009