我正在尝试使用acre.pro例程。它是一种宇宙射线提取程序,用于识别和删除图像中的宇宙射线撞击。这是例程(https://www.boulder.swri.edu/~buie/idl/pro/acre.html)的摘录
pyjanitor
我按照上述过程使用了该程序,但是IDL给了我两个错误:
CALLING SEQUENCE:
; pro acre,dirty_im,clean_im,thresh,width
INPUTS:
; dirty_im - Original input image to be cleaned.
; thresh - Deviation threshold, in sigma, from background to cause
; pixel to be fixed.
; width - Median smoothing width to get local background reference.
OUTPUTS:
; clean_im - Final cleaned up image.
这是我尝试过的很多事情中的两个,也是我遇到的错误:
"Syntax Error" and "Programs can't be compiled from single statement mode."
答案 0 :(得分:0)
尝试:
IDL> acre, 'N1487262225_2cal.IMG', 'cosmic_clean.IMG', 3, 7