//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Copyright 2010 California Institute of Technology. ALL RIGHTS RESERVED. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // United States Government Sponsorship acknowledged. This software is subject to // U.S. export control laws and regulations and has been classified as 'EAR99 NLR' // (No [Export] License Required except when exporting to an embargoed country, // end user, or in support of a prohibited end use). By downloading this software, // the user agrees to comply with all applicable U.S. export laws and regulations. // The user has the responsibility to obtain export licenses, or other export // authority as may be required before exporting this software to any 'EAR99' // embargoed foreign country or citizen of those countries. // // Author: Giangi Sacco //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #ifndef geo2rdrmodule_h #define geo2rdrmodule_h #include #include #include "geo2rdrmoduleFortTrans.h" extern "C" { #include "orbit.h" #include "poly1d.h" void geo2rdr_f(uint64_t *, uint64_t *, uint64_t *, uint64_t *, uint64_t*, uint64_t*, uint64_t*); PyObject * geo2rdr_C(PyObject *, PyObject *); void setEllipsoidMajorSemiAxis_f(double *); PyObject * setEllipsoidMajorSemiAxis_C(PyObject *, PyObject *); void setEllipsoidEccentricitySquared_f(double *); PyObject * setEllipsoidEccentricitySquared_C(PyObject *, PyObject *); void setRangePixelSpacing_f(double *); PyObject * setRangePixelSpacing_C(PyObject *, PyObject *); void setRangeFirstSample_f(double *); PyObject * setRangeFirstSample_C(PyObject *, PyObject *); void setDopplerAccessor_f(cPoly1d *); PyObject * setDopplerAccessor_C(PyObject *, PyObject *); void setPRF_f(double *); PyObject * setPRF_C(PyObject *, PyObject *); void setRadarWavelength_f(double *); PyObject * setRadarWavelength_C(PyObject *, PyObject *); void setSensingStart_f(double *); PyObject * setSensingStart_C(PyObject *, PyObject *); void setLength_f(int *); PyObject * setLength_C(PyObject *, PyObject *); void setLookSide_f(int *); PyObject * setLookSide_C(PyObject *, PyObject *); void setWidth_f(int *); PyObject * setWidth_C(PyObject *, PyObject *); void setDemWidth_f(int *); PyObject * setDemWidth_C(PyObject *, PyObject *); void setDemLength_f(int *); PyObject * setDemLength_C(PyObject *, PyObject *); void setNumberRangeLooks_f(int*); PyObject * setNumberRangeLooks_C(PyObject*, PyObject*); void setNumberAzimuthLooks_f(int*); PyObject * setNumberAzimuthLooks_C(PyObject*, PyObject*); void setOrbit_f(cOrbit *); PyObject * setOrbit_C(PyObject *, PyObject *); void setBistaticFlag_f(int*); PyObject * setBistaticFlag_C(PyObject*, PyObject*); void setOrbitMethod_f(int*); PyObject * setOrbitMethod_C(PyObject*, PyObject*); } static PyMethodDef geo2rdr_methods[] = { {"geo2rdr_Py", geo2rdr_C, METH_VARARGS, " "}, {"setEllipsoidMajorSemiAxis_Py", setEllipsoidMajorSemiAxis_C, METH_VARARGS, " "}, {"setEllipsoidEccentricitySquared_Py", setEllipsoidEccentricitySquared_C, METH_VARARGS, " "}, {"setRangePixelSpacing_Py", setRangePixelSpacing_C, METH_VARARGS, " "}, {"setRangeFirstSample_Py", setRangeFirstSample_C, METH_VARARGS, " "}, {"setDopplerAccessor_Py", setDopplerAccessor_C,METH_VARARGS, " "}, {"setPRF_Py", setPRF_C, METH_VARARGS, " "}, {"setRadarWavelength_Py", setRadarWavelength_C, METH_VARARGS, " "}, {"setSensingStart_Py", setSensingStart_C, METH_VARARGS," "}, {"setLength_Py", setLength_C, METH_VARARGS, " "}, {"setWidth_Py", setWidth_C, METH_VARARGS, " "}, {"setLookSide_Py", setLookSide_C, METH_VARARGS, " "}, {"setDemWidth_Py", setDemWidth_C, METH_VARARGS, " "}, {"setDemLength_Py", setDemLength_C, METH_VARARGS, " "}, {"setNumberRangeLooks_Py", setNumberRangeLooks_C, METH_VARARGS, " "}, {"setNumberAzimuthLooks_Py", setNumberAzimuthLooks_C, METH_VARARGS, " "}, {"setOrbit_Py", setOrbit_C, METH_VARARGS, " "}, {"setBistaticCorrectionFlag_Py", setBistaticFlag_C, METH_VARARGS, " "}, {"setOrbitMethod_Py", setOrbitMethod_C, METH_VARARGS, " "}, {NULL, NULL, 0, NULL} }; #endif // end of file