-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeconvolve_process.pro
executable file
·64 lines (48 loc) · 1.36 KB
/
deconvolve_process.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;; Name: deconvolve_process.pro
;;
;; Date: May 21, 2014
;; Author: Kari A. Frank
;;
;; Purpose: run deconvolve.pro and process.pro on all subband event files
;;
;; Calling Sequence:
;;
;; deconvolve_process,source_x,source_y
;;
;; Input:
;;
;; source_x,source_y -- source position (in physical coords)
;;
;; must be at least one subpixeled event file with standard
;; name in the current folder
;;
;; Output:
;;
;; all usual output from deconvolve.pro and process.pro for
;; subpixeled event file
;;
;; Usage Notes:
;;
;;
;;
;; Example:
;;
;;
PRO deconvolve_process,source_x,source_y
;-------------------------------------------
; Parse Arguments and Set Defaults
;-------------------------------------------
;-------------------------------------------
; Set Up Files and Paths
;-------------------------------------------
;-------------------------------------------
; Run deconvolution
;-------------------------------------------
;----Create file list----
SPAWN,'ls acisf*filtered*_subpix_*.fits >& subband_evtfiles.lis'
batch_deconvolve,'subband_evtfiles.lis',source_x,source_y
;-------------------------------------------
; Run process (smoothing)
;-------------------------------------------
SPAWN,'ls acisf*filtered*_subpix*deconvolved > & deconvolved_images.lis'
END