- Timestamp:
- Nov 30, 2008, 11:13:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081124/Ohana/src/opihi/cmd.data/fft1d.c
r20839 r20859 25 25 if ((Ire = SelectVector (argv[1], OLDVECTOR, TRUE)) == NULL) return (FALSE); 26 26 27 REQUIRE_VECTOR_FLT (Ire, FALSE); 28 if (Iim) { REQUIRE_VECTOR_FLT (Iim, FALSE); } 29 27 30 // check the input data (match lengths? binary length?) 28 31 Npix = Ire[0].Nelements; … … 40 43 if ((Oim = SelectVector (argv[5], ANYVECTOR, TRUE)) == NULL) return (FALSE); 41 44 42 // allocate sufficient output space 43 Ore[0].Nelements = Npix; 44 Oim[0].Nelements = Npix; 45 REALLOCATE (Ore[0].elements.Flt, opihi_flt, Npix); 46 REALLOCATE (Oim[0].elements.Flt, opihi_flt, Npix); 45 // allocate sufficient output space, force output to be FLT 46 ResetVector (Ore, OPIHI_FLT, Npix); 47 ResetVector (Oim, OPIHI_FLT, Npix); 47 48 48 49 // copy data to output vectors (fft is done in place)
Note:
See TracChangeset
for help on using the changeset viewer.
