使用 acre.pro 例程时出错:"Programs can't be compiled from single statement mode"
Error when using acre.pro routine: "Programs can't be compiled from single statement mode"
我正在尝试使用 acre.pro 例程。它是一种宇宙射线提取程序,用于识别和去除图像中的宇宙射线撞击。这是例程文档的摘录 (https://www.boulder.swri.edu/~buie/idl/pro/acre.html)
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.
我按照上面的步骤使用这个程序,但是,IDL 给我两个错误:
"Syntax Error" and "Programs can't be compiled from single statement mode."
以下是我尝试过的许多事情中的两个以及我遇到的错误:
IDL> pro acre ,'N1487262225_2cal.IMG','cosmic_clean.IMG',3,7
pro acre ,'N1487262225_2cal.IMG','cosmic_clean.IMG',3,7
^
% Syntax error.
IDL> pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Programs can't be compiled from single statement mode.
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Programs can't be compiled from single statement mode.
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Syntax error.
尝试:
IDL> acre, 'N1487262225_2cal.IMG', 'cosmic_clean.IMG', 3, 7
我正在尝试使用 acre.pro 例程。它是一种宇宙射线提取程序,用于识别和去除图像中的宇宙射线撞击。这是例程文档的摘录 (https://www.boulder.swri.edu/~buie/idl/pro/acre.html)
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.
我按照上面的步骤使用这个程序,但是,IDL 给我两个错误:
"Syntax Error" and "Programs can't be compiled from single statement mode."
以下是我尝试过的许多事情中的两个以及我遇到的错误:
IDL> pro acre ,'N1487262225_2cal.IMG','cosmic_clean.IMG',3,7
pro acre ,'N1487262225_2cal.IMG','cosmic_clean.IMG',3,7
^
% Syntax error.
IDL> pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Programs can't be compiled from single statement mode.
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Programs can't be compiled from single statement mode.
pro acre ,N1487262225_2.IMG,cosmic_clean.IMG,3,7
^
% Syntax error.
尝试:
IDL> acre, 'N1487262225_2cal.IMG', 'cosmic_clean.IMG', 3, 7