idl-programming-language - 使用 acre.pro 例程时出错:“程序无法从单语句模式编译”
问题描述
我正在尝试使用 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
推荐阅读
- python - elasticsearch.exceptions.SSLError:ConnectionError 主机名不匹配
- r - 如何将“可反应”表导出到 R 中的图像(PDF、JPG、PNG 或 HTML 页面?)?
- python - 如何从类中更改类变量值?
- google-analytics - 在过滤器中,如何组合多种介质类型?
- python - 函数内的迭代参数 - Python
- c++ - 如何使用 Eigen 用另一个矩阵更新矩阵
- ios - 如何从 crashlytics 理解 iOS 崩溃报告?
- google-data-studio - DataStudio:YYYYMM 给出错误的月份 (MM) 和年份 (YYYY)
- xml - 使用 xslt 过滤特定的 XML 节点
- javascript - 使用 Pentaho 执行存储在数据库列中的 javascript