.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. .TH CPX2PS "1" "September 2017" "cpx2ps v2.1, FMR software, Bert Kampes, (c)1999-2000 \n" "User Commands" .SH NAME cpx2ps \- Produce various eps codes from complex data files. .SH DESCRIPTION cpx2ps v2.1, FMR software, Bert Kampes, (c)1999\-2000 \en .HP +++ WARNING: infile missing .IP SYNOPSIS: .IP cpx2ps \fB\-w\fR width [\-f format==cr4] [\-q out==mag] [\-e exp==1.0] [\-s sc==1.0] .IP [\-l 1] [\-L alllines] [\-p 1] [\-P width] [\-M1/1 | \fB\-F1\fR/1] [\-m mirror] [\-T title] [\-c cptname==gray] [\-z size==16] [\-o epsfile] [\-G grdfile] [\-C cptfile] [\-gKSUVZ] [\-h elp] [\-\-] cpxfile .IP cpxfiddle options: .TP \fB\-w\fR width of complexfile in complex pixels .TP \fB\-f\fR format of complex input file. ci2|cr4|cr8 (cr4 is default) r4 now also possible, though it limites other options. do not use subsampling, mirroring etc, file is cat\-ed. .TP \fB\-q\fR output what is to be computed mag|phase|real|imag|normal (mag is default) .TP \fB\-e\fR exp compute scale*output^exp .TP \fB\-s\fR scale compute scale*output^exp .TP \fB\-l\fR firstline cut out complexfile from firstline .TP \fB\-L\fR lastline cut out complexfile up to lastline .HP \fB\-p\fR firstpixel cut out complexfile from firstpixel .TP \fB\-P\fR lastpixel cut out complexfile up to lastpixel .TP \fB\-m\fR X Y XY mirror option. .TP \fB\-M\fR 1/1 multilook factor in X/Y direction .TP \fB\-F\fR 1/1 subsample Factor in X/Y direction .IP GMT options: .TP \fB\-T\fR title title to plot (one word only for now) default no title .TP \fB\-c\fR colortable name of color table (see grd2cpt) if \fB\-q\fR mag then gray table is default if \fB\-q\fR other then gray table is default .TP \fB\-S\fR add a scale bar (psscale) .TP \fB\-Z\fR continuous color table (grd2cpt) .TP \fB\-K\fR Leave postscript file open after last call to GMT .TP \fB\-z\fR cm largest size of paper .TP \fB\-U\fR Place UNIX time stamp and filename in output .IP General options: .TP \fB\-g\fR Do not call gv to view result. .TP \fB\-o\fR output postscript file, default=23812.eps (pid) .TP \fB\-G\fR output grd file, default=23812.eps (pid) If specified, file is not removed at end If file exists, prompted for reuse. .TP \fB\-C\fR output cpt file, default=23812.cpt (pid) If specified, file is not removed at end If file exists, prompted for reuse. .TP \fB\-V\fR erbose give verbose information .TP \fB\-h\fR elp this help .TP complexfile inputfile, major row order pixel interleaved .IP EXAMPLES: .IP Generate a postscript file with phase of complex interferogram in file cpxint.raw (complex 2x4B floats) that has 998 range pixels: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-fcr4\fR \fB\-\-\fR cpxint.raw .IP The same but with a scale bar, timestamp, and no title: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-fcr4\fR \fB\-Tnone\fR \fB\-U\fR \fB\-S\fR \fB\-\-\fR cpxint.raw .IP To plot the magnitude to the power 0.3 of a file in the format complex short integers (2x2B) use: .IP cpx2ps \fB\-w\fR 998 \fB\-qmag\fR \fB\-fci2\fR \fB\-e0\fR.3 \fB\-\-\fR cpxint.raw .IP To see a large file it is convenient to set a large size (\fB\-z\fR). This file cannot be printed, but viewing it with gv is nice: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-z200\fR \fB\-\-\fR cpxint.raw .IP To plot the phase of a hgt file, first create a tmp file with the program hgt2file (hgtfile infile linelength tmpfile [ampflag]) Next, run cpx2ps with appropriate flags for a float file, e.g. (Note that this limits some options in scaling etc.): .IP cpx2ps \fB\-w\fR 998 \fB\-crainbow\fR \fB\-fr4\fR \fB\-\-\fR tmpfile .IP BUGS: .IP When mirroring and multilooking/subsampling sometimes the number of lines/pixels of the output is computed incorrectly. Simply don't use multilooking/subsampling... .IP Please mail bugs/comments to kampes@geo.tudelft.nl .IP SEE ALSO: .IP cpxfiddle, GMT .HP +++ WARNING: infile missing .IP PROGRAM: cpx2ps \fB\-\-\fR Produce various eps codes from complex data files. .IP SYNOPSIS: .IP cpx2ps \fB\-w\fR width [\-f format==cr4] [\-q out==mag] [\-e exp==1.0] [\-s sc==1.0] .IP [\-l 1] [\-L alllines] [\-p 1] [\-P width] [\-M1/1 | \fB\-F1\fR/1] [\-m mirror] [\-T title] [\-c cptname==gray] [\-z size==16] [\-o epsfile] [\-G grdfile] [\-C cptfile] [\-gKSUVZ] [\-h elp] [\-\-] cpxfile .IP cpxfiddle options: .TP \fB\-w\fR width of complexfile in complex pixels .TP \fB\-f\fR format of complex input file. ci2|cr4|cr8 (cr4 is default) r4 now also possible, though it limites other options. do not use subsampling, mirroring etc, file is cat\-ed. .TP \fB\-q\fR output what is to be computed mag|phase|real|imag|normal (mag is default) .TP \fB\-e\fR exp compute scale*output^exp .TP \fB\-s\fR scale compute scale*output^exp .TP \fB\-l\fR firstline cut out complexfile from firstline .TP \fB\-L\fR lastline cut out complexfile up to lastline .HP \fB\-p\fR firstpixel cut out complexfile from firstpixel .TP \fB\-P\fR lastpixel cut out complexfile up to lastpixel .TP \fB\-m\fR X Y XY mirror option. .TP \fB\-M\fR 1/1 multilook factor in X/Y direction .TP \fB\-F\fR 1/1 subsample Factor in X/Y direction .IP GMT options: .TP \fB\-T\fR title title to plot (one word only for now) default no title .TP \fB\-c\fR colortable name of color table (see grd2cpt) if \fB\-q\fR mag then gray table is default if \fB\-q\fR other then gray table is default .TP \fB\-S\fR add a scale bar (psscale) .TP \fB\-Z\fR continuous color table (grd2cpt) .TP \fB\-K\fR Leave postscript file open after last call to GMT .TP \fB\-z\fR cm largest size of paper .TP \fB\-U\fR Place UNIX time stamp and filename in output .IP General options: .TP \fB\-g\fR Do not call gv to view result. .TP \fB\-o\fR output postscript file, default=23819.eps (pid) .TP \fB\-G\fR output grd file, default=23819.eps (pid) If specified, file is not removed at end If file exists, prompted for reuse. .TP \fB\-C\fR output cpt file, default=23819.cpt (pid) If specified, file is not removed at end If file exists, prompted for reuse. .TP \fB\-V\fR erbose give verbose information .TP \fB\-h\fR elp this help .TP complexfile inputfile, major row order pixel interleaved .IP EXAMPLES: .IP Generate a postscript file with phase of complex interferogram in file cpxint.raw (complex 2x4B floats) that has 998 range pixels: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-fcr4\fR \fB\-\-\fR cpxint.raw .IP The same but with a scale bar, timestamp, and no title: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-fcr4\fR \fB\-Tnone\fR \fB\-U\fR \fB\-S\fR \fB\-\-\fR cpxint.raw .IP To plot the magnitude to the power 0.3 of a file in the format complex short integers (2x2B) use: .IP cpx2ps \fB\-w\fR 998 \fB\-qmag\fR \fB\-fci2\fR \fB\-e0\fR.3 \fB\-\-\fR cpxint.raw .IP To see a large file it is convenient to set a large size (\fB\-z\fR). This file cannot be printed, but viewing it with gv is nice: .IP cpx2ps \fB\-w\fR 998 \fB\-qphase\fR \fB\-z200\fR \fB\-\-\fR cpxint.raw .IP To plot the phase of a hgt file, first create a tmp file with the program hgt2file (hgtfile infile linelength tmpfile [ampflag]) Next, run cpx2ps with appropriate flags for a float file, e.g. (Note that this limits some options in scaling etc.): .IP cpx2ps \fB\-w\fR 998 \fB\-crainbow\fR \fB\-fr4\fR \fB\-\-\fR tmpfile .IP BUGS: .IP When mirroring and multilooking/subsampling sometimes the number of lines/pixels of the output is computed incorrectly. Simply don't use multilooking/subsampling... .IP Please mail bugs/comments to kampes@geo.tudelft.nl .IP SEE ALSO: .IP cpxfiddle, GMT .SH "SEE ALSO" The full documentation for .B cpx2ps is maintained as a Texinfo manual. If the .B info and .B cpx2ps programs are properly installed at your site, the command .IP .B info cpx2ps .PP should give you access to the complete manual.