- Timestamp:
- Jul 9, 2019, 4:40:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_mkslit.c
r40771 r40830 47 47 } 48 48 49 // either flux or fluxbins must be specified to define output size 50 int profilebins = 0; 51 if ((N = get_argument (argc, argv, "-profilebins"))) { 52 remove_argument (N, &argc, argv); 53 profilebins = atoi (argv[N]); 54 remove_argument (N, &argc, argv); 55 } 56 49 57 // for a red vs blu spline, we need to specify the split point 50 58 // XXX this is REALLY ad-hoc for Deimos. not sure how to make … … 74 82 75 83 // define the output window 76 int Nx = 2*profile[0].Nelements + 1; 84 // if no profile half-width is specified, use supplied profile 85 int Nx = profilebins ? 2*profilebins + 1 : 2*profile[0].Nelements + 1; 77 86 int Ny = flux ? flux[0].Nelements : fluxbins; 78 87
Note:
See TracChangeset
for help on using the changeset viewer.
