id
stringlengths
7
14
test_class
dict
test_case
dict
focal_class
dict
focal_method
dict
repository
dict
152350105_3
{ "fields": [ { "declarator": "account", "modifier": "private", "original_string": "private Account account;", "type": "Account", "var_name": "account" } ], "file": "ucloud-sdk-java-common/src/test/java/cn/ucloud/common/util/SignatureTest.java", "identifier": "SignatureTest...
{ "body": "@Test\n public void getSignatureLsit() {\n List<Param> list = new ArrayList<>(initParamsList());\n System.out.println(Signature.getSignature(list,account));\n }", "class_method_signature": "SignatureTest.getSignatureLsit()", "constructor": false, "full_signature": "@Test public v...
{ "fields": [ { "declarator": "logger = LoggerFactory.getLogger(Signature.class.getName())", "modifier": "private static", "original_string": "private static Logger logger = LoggerFactory.getLogger(Signature.class.getName());", "type": "Logger", "var_name": "logger" } ], "fil...
{ "body": "protected static String getSignature(Param[] params, Account account) {\n String signature = \"\";\n if (params != null) {\n // 排序\n sortParams(params);\n // 拼接参数\n String stitchParams = stitchParams(params);\n // 拼接privateKey\n ...
{ "created": null, "fork": null, "fork_count": 8, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 152350105, "size": 1591, "stargazer_count": 10, "stars": null, "updates": null, "url": "https://github.com/ucloud/ucloud-sdk-java" }
1605107_156
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testOut() throws Exception {\n testPoint = X.out(Z);\n refPoint = new Point(-3, 6, -3);\n assertEquals(testPoint, refPoint);\n }", "class_method_signature": "PointTest.testOut()", "constructor": false, "full_signature": "@Test public void testOut()", "...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point out(Point p) {\n return new Point(y * p.z - z * p.y, z * p.x - x * p.z, x * p.y - y * p.x);\n }", "class_method_signature": "Point.out(Point p)", "constructor": false, "full_signature": "public Point out(Point p)", "identifier": "out", "invocations": [], "modifiers": "pub...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_101
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testIsPower2() throws Exception {\n Assert.assertTrue(MathUtils.isPower2((long) powerOfTwo_EXPECTED));\n Assert.assertFalse(MathUtils.isPower2((long) notPowerOfTwo_EXPECTED));\n }", "class_method_signature": "MathUtilsTest.testIsPower2()", "constructor": false, ...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static boolean isPower2(long value) {\n return value == 1 || value == 2 || value == 4 || value == 8 || value == 16 ||\n value == 32 || value == 64 || value == 128 || value == 256 ||\n value == 512 || value == 1024 || value == 2048 || value == 4096;\n }", "cl...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_117
{ "fields": [ { "declarator": "DELTA_06 = 1e-06", "modifier": "private static final", "original_string": "private static final double DELTA_06 = 1e-06;", "type": "double", "var_name": "DELTA_06" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testPolyVal1d() throws Exception {\n // NOTE: definition of coeffs is reversed from Matlab's\n double[] coeff = {1, 2, 3};\n double[] input = {5, 7, 9};\n double[] solutionArray_EXPECTED = {86, 162, 262};\n for (int i = 0; i < solutionArray_EXPECTED...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(PolyUtils.class)", "modifier": "public static final", "original_string": "public static final Logger logger = (Logger) LoggerFactory.getLogger(PolyUtils.class);", "type": "Logger", "var_name": "logger" } ]...
{ "body": "public static double polyVal1D(double x, double[] coeffs) {\n double sum = 0.0;\n for (int d = coeffs.length - 1; d >= 0; --d) {\n sum *= x;\n sum += coeffs[d];\n }\n return sum;\n }", "class_method_signature": "PolyUtils.polyVal1D(double x, double[] c...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_140
{ "fields": [ { "declarator": "inputEll = new Ellipsoid()", "modifier": "private", "original_string": "private Ellipsoid inputEll = new Ellipsoid();", "type": "Ellipsoid", "var_name": "inputEll" }, { "declarator": "cr_GEO_expected = {51.9903894167,4.3896355000,41.670}",...
{ "body": "@Test\n public void testXyz2ell() throws Exception {\n\n double[] phi_lambda_height = inputEll.xyz2ell(new Point(cr_XYZ_expected));\n\n Assert.assertEquals(cr_GEO_expected[0], Math.toDegrees(phi_lambda_height[0]), deltaGEO);\n Assert.assertEquals(cr_GEO_expected[1], Math.toDegrees(p...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Ellipsoid.class.getName())", "modifier": "", "original_string": "Logger logger = Logger.getLogger(Ellipsoid.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "e2 = 0.0066943800355127909...
{ "body": "public static double[] xyz2ell(final Point xyz) {\n\n// double[] phi_lambda_height = new double[3];\n final double r = Math.sqrt(Math.pow(xyz.x, 2) + Math.pow(xyz.y, 2));\n final double nu = Math.atan2((xyz.z * a), (r * b));\n final double sin3 = Math.pow(Math.sin(nu), 3);\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_67
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testMatrixPower_JBLAS() throws Exception {\n Assert.assertEquals(new DoubleMatrix(A_PASCAL_33_SQUARED),\n LinearAlgebraUtils.matrixPower(A_PASCAL_33, 3));\n }", "class_method_signature": "LinearAlgebraUtilsTest.testMatrixPower_JBLAS()", "constructor": fal...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static DoubleMatrix matrixPower(DoubleMatrix data, double scalar) {\n return pow(data, scalar);\n }", "class_method_signature": "LinearAlgebraUtils.matrixPower(DoubleMatrix data, double scalar)", "constructor": false, "full_signature": "public static DoubleMatrix matrixPower(DoubleMa...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_88
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testFftshiftDouble_inplace() throws Exception {\n\n double[] vectorTemp_EXPECTED = vector_EXPECTED.clone();\n\n DoubleMatrix shiftMatrixDouble_EXPECTED = new DoubleMatrix(shiftVector_EXPECTED);\n DoubleMatrix shiftMatrixDouble_ACTUAL = new DoubleMatrix(vectorTemp...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static void fftshift_inplace(ComplexDoubleMatrix inMatrix) {\n // NOT very efficient! Allocating and copying! //\n inMatrix.copy(fftshift(inMatrix));\n }", "class_method_signature": "SpectralUtils.fftshift_inplace(ComplexDoubleMatrix inMatrix)", "constructor": false, "full_sig...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_30
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testPointByReference_getXYZDotDot() throws Exception {\n Point t1 = orbit_ACTUAL.getXYZDotDot(1);\n Point t2 = orbit_ACTUAL.getXYZDotDot(2);\n Assert.assertFalse(t1 == t2);\n }", "class_method_signature": "OrbitTest.testPointByReference_getXYZDotDot()", "c...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public Point getXYZDotDot(final double azTime) {\n\n //TODO: sanity check\n Point satelliteAcceleration = new Point();\n\n // normalize time\n double azTimeNormal = (azTime - time[time.length / 2]) / 10.0d;\n\n // NOTE: orbit interpolator is simple polynomial\n // ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_26
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testPointByReference_lp2xyz() throws Exception {\n Point t1 = orbit_ACTUAL.lp2xyz(1, 1, slcimage);\n Point t2 = orbit_ACTUAL.lp2xyz(2, 2, slcimage);\n Assert.assertFalse(t1 == t2);\n\n Point t3 = orbit_ACTUAL.lp2xyz(new Point(1, 1), slcimage);\n Poi...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public synchronized Point lp2xyz(final Point sarPixel, final SLCImage slcimage) throws Exception {\n return lph2xyz(sarPixel.y, sarPixel.x, 0, slcimage);\n }", "class_method_signature": "Orbit.lp2xyz(final Point sarPixel, final SLCImage slcimage)", "constructor": false, "full_signature": "p...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_71
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testMatTxmatDouble_JBLAS() throws Exception {\n DoubleMatrix ATA_33_ACTUAL = LinearAlgebraUtils.matTxmat(A_33, A_33);\n Assert.assertEquals(ATA_33_EXPECTED, ATA_33_ACTUAL);\n }", "class_method_signature": "LinearAlgebraUtilsTest.testMatTxmatDouble_JBLAS()", "cons...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static DoubleMatrix matTxmat(DoubleMatrix matrix1, DoubleMatrix matrix2) {\n return matrix1.transpose().mmul(matrix2);\n }", "class_method_signature": "LinearAlgebraUtils.matTxmat(DoubleMatrix matrix1, DoubleMatrix matrix2)", "constructor": false, "full_signature": "public static Dou...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_0
{ "fields": [ { "declarator": "DELTA_04 = 1e-04", "modifier": "private static final", "original_string": "private static final double DELTA_04 = 1e-04;", "type": "double", "var_name": "DELTA_04" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testDefineFilter() throws Exception {\n\n // master metadata & data\n SLCImage masterMetadata = new SLCImage();\n masterMetadata.parseResFile(new File(testDirectory + \"master.res\"));\n masterCplx_ACTUAL = masterCplx.dup();\n\n // slave metadata & ...
{ "fields": [ { "declarator": "logger = Logger.getLogger(RangeFilter.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(RangeFilter.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "generalIn...
{ "body": "@Override\n public void defineFilter() throws Exception {\n\n /// local variables ///\n /// define parameters ///\n int notFiltered = 0;\n final long outputLines = nRows - nlMean + 1;\n final long firstLine = ((nlMean - 1) / 2); // indices in matrix system\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_51
{ "fields": [ { "declarator": "masterResFile = new File(\"test/testOrbit/test_cr.res\")", "modifier": "private static final", "original_string": "private static final File masterResFile = new File(\"test/testOrbit/test_cr.res\");", "type": "File", "var_name": "masterResFile" }, ...
{ "body": "@Test\n public void testGetBperpPoint() throws Exception {\n Assert.assertEquals(bPerp_1_EXPECTED, baseline.getBperp(new Point(pix_1, line_1, 0)), DELTA_06);\n Assert.assertEquals(bPerp_2_EXPECTED, baseline.getBperp(new Point(pix_2, line_2, 0)), DELTA_06);\n }", "class_method_signatur...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Baseline.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(Baseline.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "isInitialized",...
{ "body": "public double getBperp(final double line, final double pixel, final double height) throws Exception {\n return polyVal(bperpCoeffs,\n normalize2(line, linMin, linMax),\n normalize2(pixel, pixMin, pixMax),\n normalize2(height, hMin, hMax));\n }", "cla...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_47
{ "fields": [ { "declarator": "masterResFile = new File(\"test/testOrbit/test_cr.res\")", "modifier": "private static final", "original_string": "private static final File masterResFile = new File(\"test/testOrbit/test_cr.res\");", "type": "File", "var_name": "masterResFile" }, ...
{ "body": "@Test\n public void testGetB() throws Exception {\n Assert.assertEquals(b_1_EXPECTED, baseline.getB(line_1, pix_1, 0), DELTA_06);\n Assert.assertEquals(b_2_EXPECTED, baseline.getB(line_2, pix_2, 0), DELTA_06);\n }", "class_method_signature": "BaselineTest.testGetB()", "constructor":...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Baseline.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(Baseline.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "isInitialized",...
{ "body": "public double getB(final double line, final double pixel, final double height) throws Exception {\n return Math.sqrt(sqr(getBpar(line, pixel, height)) + sqr(getBperp(line, pixel, height)));\n }", "class_method_signature": "Baseline.getB(final double line, final double pixel, final double height...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_10
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testGetNumStateVectors() throws Exception {\n Assert.assertEquals(orbit_ACTUAL.getNumStateVectors(), stateVectors_EXPECTED.length);\n }", "class_method_signature": "OrbitTest.testGetNumStateVectors()", "constructor": false, "full_signature": "@Test public void testGet...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public int getNumStateVectors() {\n return numStateVectors;\n }", "class_method_signature": "Orbit.getNumStateVectors()", "constructor": false, "full_signature": "public int getNumStateVectors()", "identifier": "getNumStateVectors", "invocations": [], "modifiers": "public", "paramet...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_137
{ "fields": [ { "declarator": "win_EXPECTED = new Window(11, 21, 103, 114)", "modifier": "private final static", "original_string": "private final static Window win_EXPECTED = new Window(11, 21, 103, 114);", "type": "Window", "var_name": "win_EXPECTED" }, { "declarator"...
{ "body": "@Test\n public void testLines() throws Exception {\n Assert.assertEquals(win_EXPECTED.lines(), win_ACTUAL.lines());\n Assert.assertEquals(win_EXPECTED.lines(), Window.lines(win_ACTUAL));\n }", "class_method_signature": "WindowTest.testLines()", "constructor": false, "full_signatur...
{ "fields": [ { "declarator": "linelo", "modifier": "public", "original_string": "public long linelo;", "type": "long", "var_name": "linelo" }, { "declarator": "linehi", "modifier": "public", "original_string": "public long linehi;", "type": "long", ...
{ "body": "public static long lines(final Window w) {\n return w.linehi - w.linelo + 1;\n\n }", "class_method_signature": "Window.lines(final Window w)", "constructor": false, "full_signature": "public static long lines(final Window w)", "identifier": "lines", "invocations": [], "modifiers": "pu...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_84
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testSetdataDouble_fill_JBLAS() throws Exception {\n DoubleMatrix inMatrix = A_PASCAL_33;\n Window inWin = new Window(0, 1, 0, 1);\n\n DoubleMatrix outMatrix = new DoubleMatrix(inMatrix.rows - 1, inMatrix.columns - 1);\n LinearAlgebraUtils.setdata(outMatrix...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void setdata(DoubleMatrix outMatrix, Window outWin, DoubleMatrix inMatrix, Window inWin) {\n\n if (outWin.linehi == 0 && outWin.pixhi == 0) {\n outWin.linehi = outMatrix.rows - 1;\n outWin.pixhi = outMatrix.columns - 1;\n }\n if (inWin.linehi == 0 &&...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_121
{ "fields": [ { "declarator": "DELTA = 10e-16", "modifier": "private static final", "original_string": "private static final double DELTA = 10e-16;", "type": "double", "var_name": "DELTA" }, { "declarator": "NumOfSamples = 16", "modifier": "final static", "o...
{ "body": "@Test\n public void testHammingArray() throws Exception {\n double[] hamming_ACTUAL = WeightWindows.hamming(inputAxisHamming, Br, Fs, ALPHA);\n Assert.assertArrayEquals(hamming_EXPECTED,hamming_ACTUAL, DELTA);\n }", "class_method_signature": "WeightWindowsTest.testHammingArray()", "...
{ "fields": [ { "declarator": "n", "modifier": "private static", "original_string": "private static int n;", "type": "int", "var_name": "n" } ], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/WeightWindows.java", "identifier": "WeightWindows", "interfaces": "", ...
{ "body": "public static double[] hamming(final int n) {\n double[] window = new double[n];\n for (int i = 0; i < n; i++) {\n window[i] = 0.54 - 0.46 * Math.cos(2 * Math.PI * ((double) i / (double) (n - 1)));\n }\n return window;\n }", "class_method_signature": "WeightWindo...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_92
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testIfftshiftDouble_inplace() throws Exception {\n\n double[] shiftVectorTemp_EXPECTED = shiftVector_EXPECTED.clone();\n DoubleMatrix matrixDouble_EXPECTED = new DoubleMatrix(vector_EXPECTED);\n\n DoubleMatrix matrixDouble_ACTUAL = new DoubleMatrix(shiftVectorTem...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static void ifftshift_inplace(ComplexDoubleMatrix inMatrix) throws IllegalArgumentException {\n // NOT very efficient! Allocating and copying! //\n inMatrix.copy(ifftshift(inMatrix));\n }", "class_method_signature": "SpectralUtils.ifftshift_inplace(ComplexDoubleMatrix inMatrix)", ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_93
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testIfftshiftComplex_inplace() throws Exception {\n\n double[] shiftVectorTemp_EXPECTED = shiftVector_EXPECTED.clone();\n\n ComplexDoubleMatrix matrixCplx_ACTUAL = new ComplexDoubleMatrix(new DoubleMatrix(shiftVectorTemp_EXPECTED),\n new DoubleMatrix(shif...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static void ifftshift_inplace(ComplexDoubleMatrix inMatrix) throws IllegalArgumentException {\n // NOT very efficient! Allocating and copying! //\n inMatrix.copy(ifftshift(inMatrix));\n }", "class_method_signature": "SpectralUtils.ifftshift_inplace(ComplexDoubleMatrix inMatrix)", ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_120
{ "fields": [ { "declarator": "DELTA = 10e-16", "modifier": "private static final", "original_string": "private static final double DELTA = 10e-16;", "type": "double", "var_name": "DELTA" }, { "declarator": "NumOfSamples = 16", "modifier": "final static", "o...
{ "body": "@Test\n public void testRectDoubleMatrix() throws Exception {\n DoubleMatrix rect_ACTUAL = WeightWindows.rect(new DoubleMatrix(inputAxisRect));\n Assert.assertEquals(new DoubleMatrix(rect_EXPECTED), rect_ACTUAL);\n }", "class_method_signature": "WeightWindowsTest.testRectDoubleMatrix(...
{ "fields": [ { "declarator": "n", "modifier": "private static", "original_string": "private static int n;", "type": "int", "var_name": "n" } ], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/WeightWindows.java", "identifier": "WeightWindows", "interfaces": "", ...
{ "body": "public static DoubleMatrix rect(final DoubleMatrix x) throws IllegalArgumentException {\n if (!x.isVector()) {\n System.err.println(\"myrect: only lying vectors.\");\n throw new IllegalArgumentException();\n }\n\n return new DoubleMatrix(rect(x.toArray()));\n }...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_85
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testSetdataFor() throws Exception {\n\n double[][] doubles = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};\n\n DoubleMatrix inMatrix = new DoubleMatrix(doubles);\n DoubleMatrix outMatrix_ACTUAL = new DoubleMatrix(2*inMatrix.rows, inMatrix.columns);\n DoubleMatrix out...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void setdata(DoubleMatrix outMatrix, Window outWin, DoubleMatrix inMatrix, Window inWin) {\n\n if (outWin.linehi == 0 && outWin.pixhi == 0) {\n outWin.linehi = outMatrix.rows - 1;\n outWin.pixhi = outMatrix.columns - 1;\n }\n if (inWin.linehi == 0 &&...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_136
{ "fields": [ { "declarator": "win_EXPECTED = new Window(11, 21, 103, 114)", "modifier": "private final static", "original_string": "private final static Window win_EXPECTED = new Window(11, 21, 103, 114);", "type": "Window", "var_name": "win_EXPECTED" }, { "declarator"...
{ "body": "@Test\n public void testClone() throws Exception {\n Window win_ACTUAL_CLONE = (Window) win_EXPECTED.clone();\n Assert.assertEquals(win_EXPECTED, win_ACTUAL_CLONE);\n }", "class_method_signature": "WindowTest.testClone()", "constructor": false, "full_signature": "@Test public void...
{ "fields": [ { "declarator": "linelo", "modifier": "public", "original_string": "public long linelo;", "type": "long", "var_name": "linelo" }, { "declarator": "linehi", "modifier": "public", "original_string": "public long linehi;", "type": "long", ...
{ "body": "public Object clone() throws CloneNotSupportedException {\n try {\n return super.clone();\n } catch (CloneNotSupportedException e) {\n // this shouldn't happen, since we are Cloneable\n return null;\n// throw new InternalError();\n }\n }", "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_11
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testOrbitInterpolationFlag() throws Exception {\n Assert.assertEquals(true, orbit_ACTUAL.isInterpolated());\n }", "class_method_signature": "OrbitTest.testOrbitInterpolationFlag()", "constructor": false, "full_signature": "@Test public void testOrbitInterpolationFlag(...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public boolean isInterpolated() {\n return isInterpolated;\n }", "class_method_signature": "Orbit.isInterpolated()", "constructor": false, "full_signature": "public boolean isInterpolated()", "identifier": "isInterpolated", "invocations": [], "modifiers": "public", "parameters": "()...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_46
{ "fields": [ { "declarator": "masterResFile = new File(\"test/testOrbit/test_cr.res\")", "modifier": "private static final", "original_string": "private static final File masterResFile = new File(\"test/testOrbit/test_cr.res\");", "type": "File", "var_name": "masterResFile" }, ...
{ "body": "@Test\n public void testGetRange() throws Exception {\n\n Assert.assertEquals(rangeToPixel_1_EXPECTED, baseline.getRange(1), DELTA_03);\n Assert.assertEquals(rangeToPixel_5175_EXPECTED, baseline.getRange(5175), DELTA_03);\n\n }", "class_method_signature": "BaselineTest.testGetRange()"...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Baseline.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(Baseline.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "isInitialized",...
{ "body": "public double getRange(final double pixel) {\n return nearRange + drange_dp * pixel;\n }", "class_method_signature": "Baseline.getRange(final double pixel)", "constructor": false, "full_signature": "public double getRange(final double pixel)", "identifier": "getRange", "invocations": []...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_50
{ "fields": [ { "declarator": "masterResFile = new File(\"test/testOrbit/test_cr.res\")", "modifier": "private static final", "original_string": "private static final File masterResFile = new File(\"test/testOrbit/test_cr.res\");", "type": "File", "var_name": "masterResFile" }, ...
{ "body": "@Test\n public void testGetBperp() throws Exception {\n Assert.assertEquals(bPerp_1_EXPECTED, baseline.getBperp(line_1, pix_1), DELTA_06);\n Assert.assertEquals(bPerp_2_EXPECTED, baseline.getBperp(line_2, pix_2), DELTA_06);\n }", "class_method_signature": "BaselineTest.testGetBperp()"...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Baseline.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(Baseline.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "isInitialized",...
{ "body": "public double getBperp(final double line, final double pixel, final double height) throws Exception {\n return polyVal(bperpCoeffs,\n normalize2(line, linMin, linMax),\n normalize2(pixel, pixMin, pixMax),\n normalize2(height, hMin, hMax));\n }", "cla...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_1
{ "fields": [ { "declarator": "DELTA_04 = 1e-04", "modifier": "private static final", "original_string": "private static final double DELTA_04 = 1e-04;", "type": "double", "var_name": "DELTA_04" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void filterBlock_RECT() throws Exception {\n\n final double alphaHamming = 1;\n final int ovsFactor = 1;\n final boolean doWeightCorrelFlag = false;\n\n masterCplx_ACTUAL = masterCplx.dup();\n slaveCplx_ACTUAL = slaveCplx.dup();\n\n /// load Expec...
{ "fields": [ { "declarator": "logger = Logger.getLogger(RangeFilter.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(RangeFilter.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "generalIn...
{ "body": "@Deprecated\n public static void filterBlock(ComplexDoubleMatrix masterDataBlock, // updated\n ComplexDoubleMatrix slaveDataBlock, // updated\n int nlMean,\n double SNRthreshold,\n double RSR, //...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_70
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testDotmult_inplace_JBLAS() throws Exception {\n ComplexDoubleMatrix A_PASCAL_22_CPLX_times2_ACTUAL = A_PASCAL_22_CPLX.dup();\n\n LinearAlgebraUtils.dotmult_inplace(A_PASCAL_22_CPLX_times2_ACTUAL, A_PASCAL_22_CPLX);\n Assert.assertEquals(A_PASCAL_22_CPLX_times2_E...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void dotmult_inplace(ComplexDoubleMatrix A, ComplexDoubleMatrix B) {\n A.muli(B);\n }", "class_method_signature": "LinearAlgebraUtils.dotmult_inplace(ComplexDoubleMatrix A, ComplexDoubleMatrix B)", "constructor": false, "full_signature": "public static void dotmult_inplace(Com...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_27
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testPointByReference_lph2xyz() throws Exception {\n Point t1 = orbit_ACTUAL.lph2xyz(1, 1, 0, slcimage);\n Point t2 = orbit_ACTUAL.lph2xyz(1, 1, 1, slcimage);\n Assert.assertFalse(t1 == t2);\n }", "class_method_signature": "OrbitTest.testPointByReference_lph2...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public Point lph2xyz(final double line, final double pixel, final double height, final SLCImage slcimage) throws Exception {\n\n logger.setLevel(Level.OFF);\n\n Point satellitePosition;\n Point satelliteVelocity;\n Point ellipsoidPosition; // returned\n\n // allocate matr...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_31
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testPointByReference_xyz2t() throws Exception {\n Point t1 = orbit_ACTUAL.xyz2t(crXYZ_EXPECTED, slcimage);\n Point t2 = orbit_ACTUAL.xyz2t(new Point(crXYZ_EXPECTED.x - 1, crXYZ_EXPECTED.y - 1, crXYZ_EXPECTED.z), slcimage);\n Assert.assertFalse(t1 == t2);\n }",...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public synchronized Point xyz2t(final Point pointOnEllips, final SLCImage slcimage) {\n\n Point delta;\n\n // inital value\n double timeAzimuth = slcimage.line2ta(0.5 * slcimage.getApproxRadarCentreOriginal().y);\n\n int iter;\n double solution = 0;\n for (iter = 0...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_66
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testAbsMatrix_Arrays() throws Exception {\n double[][] SOL_33_EXPECTED_TEMP = new double[][]{SOL_33_EXPECTED, SOL_33_EXPECTED};\n double[][] SOL_33_EXPECTED_ABS_TEMP = new double[][]{SOL_33_EXPECTED_ABS, SOL_33_EXPECTED_ABS};\n\n double[][] SOL_33_ACTUAL_ABS = Li...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static DoubleMatrix absMatrix(DoubleMatrix inMatrix) {\n return abs(inMatrix);\n }", "class_method_signature": "LinearAlgebraUtils.absMatrix(DoubleMatrix inMatrix)", "constructor": false, "full_signature": "public static DoubleMatrix absMatrix(DoubleMatrix inMatrix)", "identifier":...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_89
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testFftshiftComplex_inplace() throws Exception {\n\n double[] vectorTemp_EXPECTED = vector_EXPECTED.clone();\n\n ComplexDoubleMatrix shiftMatrixCplx_EXPECTED = new ComplexDoubleMatrix(new DoubleMatrix(shiftVector_EXPECTED),\n new DoubleMatrix(shiftVector_...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static void fftshift_inplace(ComplexDoubleMatrix inMatrix) {\n // NOT very efficient! Allocating and copying! //\n inMatrix.copy(fftshift(inMatrix));\n }", "class_method_signature": "SpectralUtils.fftshift_inplace(ComplexDoubleMatrix inMatrix)", "constructor": false, "full_sig...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_141
{ "fields": [ { "declarator": "inputEll = new Ellipsoid()", "modifier": "private", "original_string": "private Ellipsoid inputEll = new Ellipsoid();", "type": "Ellipsoid", "var_name": "inputEll" }, { "declarator": "cr_GEO_expected = {51.9903894167,4.3896355000,41.670}",...
{ "body": "@Test\n public void testEll2xyz() throws Exception {\n\n Point cr4_XYZ_actual = inputEll.ell2xyz(Math.toRadians(cr_GEO_expected[0]),\n Math.toRadians(cr_GEO_expected[1]), cr_GEO_expected[2]);\n\n for (int i = 0; i < cr_XYZ_expected.length; i++) {\n\n Assert.assert...
{ "fields": [ { "declarator": "logger = Logger.getLogger(Ellipsoid.class.getName())", "modifier": "", "original_string": "Logger logger = Logger.getLogger(Ellipsoid.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "e2 = 0.0066943800355127909...
{ "body": "public static Point ell2xyz(final double phi, final double lambda, final double height) throws IllegalArgumentException {\n\n if (phi > Math.PI || phi < -Math.PI || lambda > Math.PI || lambda < -Math.PI) {\n throw new IllegalArgumentException(\"Ellipsoid.ell2xyz : input values for phi/lam...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_116
{ "fields": [ { "declarator": "DELTA_06 = 1e-06", "modifier": "private static final", "original_string": "private static final double DELTA_06 = 1e-06;", "type": "double", "var_name": "DELTA_06" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testPolyFitNormalize() throws Exception {\n\n final double[] x = MathUtils.increment(11, 0, 0.1);\n final double[] y = new double[x.length];\n\n // define double as errf(x)\n for (int i = 0; i < x.length; i++) {\n y[i] = erf(x[i]);\n }\n\...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(PolyUtils.class)", "modifier": "public static final", "original_string": "public static final Logger logger = (Logger) LoggerFactory.getLogger(PolyUtils.class);", "type": "Logger", "var_name": "logger" } ]...
{ "body": "public static double[] polyFitNormalized(DoubleMatrix t, DoubleMatrix y, final int degree) throws IllegalArgumentException {\n return polyFit(normalize(t), y, degree);\n }", "class_method_signature": "PolyUtils.polyFitNormalized(DoubleMatrix t, DoubleMatrix y, final int degree)", "constructor...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_100
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testIsEven() throws Exception {\n Assert.assertTrue(MathUtils.isEven(evenVal_EXPECTED));\n Assert.assertFalse(MathUtils.isEven(oddVal_EXPECTED));\n }", "class_method_signature": "MathUtilsTest.testIsEven()", "constructor": false, "full_signature": "@Test public...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static boolean isEven(long value) {\n return value % 2 == 0;\n }", "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value)", "identifier": "isEven", "invocations": [], "modifiers": "public stati...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_157
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testAngle() throws Exception {\n testDouble = X.angle(Z);\n refDouble = 0.225726;\n assertEquals(refDouble,testDouble,delta);\n\n }", "class_method_signature": "PointTest.testAngle()", "constructor": false, "full_signature": "@Test public void testAngle(...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public double angle(Point p) {\n return Math.acos(in(p) / (norm() * p.norm()));\n }", "class_method_signature": "Point.angle(Point p)", "constructor": false, "full_signature": "public double angle(Point p)", "identifier": "angle", "invocations": [ "acos", "in", "norm", "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_6
{ "fields": [ { "declarator": "testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\"", "modifier": "private static final", "original_string": "private static final String testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\";", "type": "String", "var_name"...
{ "body": "@Test\n public void TestArrangingKernel() throws Exception {\n\n final int scalefactor = 1;\n DoubleMatrix arrangedKernel2d_ACTUAL = PhaseFilterUtils.arrangeKernel2d(kernel2d, scalefactor);\n\n String kernel2dFileName = testDirectorySpectral + \"kernel2d.r4.swap\";\n FloatMat...
{ "fields": [ { "declarator": "GOLDSTEIN_THRESHOLD = 1e-20", "modifier": "private static final", "original_string": "private static final double GOLDSTEIN_THRESHOLD = 1e-20;", "type": "double", "var_name": "GOLDSTEIN_THRESHOLD" }, { "declarator": "method", "modifi...
{ "body": "public static DoubleMatrix arrangeKernel2d(DoubleMatrix kernel2dIn, final double scaleFactor) {\n\n final int kernelLines = kernel2dIn.rows;\n final int kernelPixels = kernel2dIn.columns;\n\n final int size = kernelLines;\n\n final int hbsL = (kernelLines / 2);\n final in...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_57
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testLine2ta() throws Exception {\n double azTime_ACTUAL = master.line2ta(line_EXPECTED);\n Assert.assertEquals(azTime_EXPECTED, azTime_ACTUAL, eps05);\n\n }", "class_method_signature": "SLCImageTest.testLine2ta()", "constructor": false, "full_signature": "@Test...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double line2ta(double line) {\n return tAzi1 + ((line - 1.0) / PRF);\n }", "class_method_signature": "SLCImage.line2ta(double line)", "constructor": false, "full_signature": "public double line2ta(double line)", "identifier": "line2ta", "invocations": [], "modifiers": "public",...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_41
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFileTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(ResFileTest.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "testFile"...
{ "body": "@Test\n public void testQueryKeyDouble() throws Exception {\n double expectedValue = 29.1456;\n double returnValue = resFile.parseDoubleValue(\"Scene_centre_latitude\");\n\n Assert.assertEquals(expectedValue, returnValue, delta);\n }", "class_method_signature": "ResFileTest.tes...
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFile.class.getName())", "modifier": "private static", "original_string": "private static Logger logger = Logger.getLogger(ResFile.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "r...
{ "body": "public double parseDoubleValue(String key) {\n return Double.parseDouble(parseStringValue(key));\n }", "class_method_signature": "ResFile.parseDoubleValue(String key)", "constructor": false, "full_signature": "public double parseDoubleValue(String key)", "identifier": "parseDoubleValue", ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_16
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testGetXYZ() throws Exception {\n Assert.assertArrayEquals(satellitePos_EXPECTED.toArray(), orbit_ACTUAL.getXYZ(pixelTime_EXPECTED.y).toArray(), eps_06);\n }", "class_method_signature": "OrbitTest.testGetXYZ()", "constructor": false, "full_signature": "@Test public vo...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public Point getXYZ(final double azTime) {\n\n if (azTime < time[0] || azTime > time[numStateVectors - 1]) {\n logger.warn(\"getXYZ() interpolation at: \" + azTime + \" is outside interval time axis: (\"\n + time[0] + \", \" + time[numStateVectors - 1] + \").\");\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_131
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testComplexIfg() throws Exception {\n\n // get test data\n String fileTestDataName = testDataLocation + \"testdata_ifg_ovsmp_\" + 1 + \"_\" + 1 + \".cr8\";\n\n ComplexDoubleMatrix ifgCplx_EXPECTED = readCplxDoubleData(fileTestDataName, nRows, nCols, ByteOrder.LIT...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static ComplexDoubleMatrix computeIfg(final ComplexDoubleMatrix masterData, final ComplexDoubleMatrix slaveData) throws Exception {\n return LinearAlgebraUtils.dotmult(masterData, slaveData.conj());\n }", "class_method_signature": "SarUtils.computeIfg(final ComplexDoubleMatrix masterData...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_82
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testSetdataDouble_JBLAS() throws Exception {\n DoubleMatrix inMatrix = A_PASCAL_33;\n Window inWin = new Window(0, 1, 0, 1);\n\n DoubleMatrix outMatrix = new DoubleMatrix(inMatrix.rows - 1, inMatrix.columns - 1);\n Window outWin = new Window(0, 1, 0, 1);\n...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void setdata(DoubleMatrix outMatrix, Window outWin, DoubleMatrix inMatrix, Window inWin) {\n\n if (outWin.linehi == 0 && outWin.pixhi == 0) {\n outWin.linehi = outMatrix.rows - 1;\n outWin.pixhi = outMatrix.columns - 1;\n }\n if (inWin.linehi == 0 &&...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_127
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testOversample() throws Exception {\n\n int[] ovsmpFactorAz = new int[]{1, 2, 2, 3};\n int[] ovsmpFactorRg = new int[]{2, 1, 2, 3};\n\n for (int i = 0; i < ovsmpFactorAz.length; i++) {\n\n int facAz = ovsmpFactorAz[i];\n int facRg = ovsmpFac...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static ComplexDoubleMatrix oversample(ComplexDoubleMatrix inputMatrix, final int factorRow, final int factorCol) throws IllegalArgumentException {\n\n final int l = inputMatrix.rows;\n final int p = inputMatrix.columns;\n final int halfL = l / 2;\n final int halfP = p / 2...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_94
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testFft2D() throws Exception {\n ComplexDoubleMatrix fftMatrix_2D_ACTUAL = SpectralUtils.fft2D(complexMatrix_EXPECTED);\n Assert.assertEquals(fftMatrix_2D_EXPECTED, fftMatrix_2D_ACTUAL);\n\n // Not Square matrix! row vs column order!\n ComplexDoubleMatrix ...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static ComplexDoubleMatrix fft2D(ComplexDoubleMatrix inMatrix) {\n ComplexDoubleMatrix outMatrix = inMatrix.dup();\n fft2D_inplace(outMatrix);\n return outMatrix;\n }", "class_method_signature": "SpectralUtils.fft2D(ComplexDoubleMatrix inMatrix)", "constructor": false, ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_150
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testNegative() throws Exception {\n testPoint = X.negative();\n refPoint = X.multByScalar(-1);\n assertEquals(refPoint, testPoint);\n }", "class_method_signature": "PointTest.testNegative()", "constructor": false, "full_signature": "@Test public void tes...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point negative() {\n return multByScalar(-1);\n }", "class_method_signature": "Point.negative()", "constructor": false, "full_signature": "public Point negative()", "identifier": "negative", "invocations": [ "multByScalar" ], "modifiers": "public", "parameters": "()", ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_107
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testSqr() throws Exception {\n Assert.assertEquals(Math.pow(VALUE, 2), MathUtils.sqr(VALUE), DELTA);\n }", "class_method_signature": "MathUtilsTest.testSqr()", "constructor": false, "full_signature": "@Test public void testSqr()", "identifier": "testSqr", "invocat...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "@Deprecated\n public static double sqr(double value) {\n return Math.pow(value, 2);\n }", "class_method_signature": "MathUtils.sqr(double value)", "constructor": false, "full_signature": "@Deprecated public static double sqr(double value)", "identifier": "sqr", "invocations": [ "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_111
{ "fields": [ { "declarator": "DELTA_06 = 1e-06", "modifier": "private static final", "original_string": "private static final double DELTA_06 = 1e-06;", "type": "double", "var_name": "DELTA_06" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testNormalize2() throws Exception {\n double normValue1_EXPECTED = -2;\n double normValue2_EXPECTED = -1.636363636363;\n int min_int = 1;\n int max_int = 100;\n double min_double = 1.0;\n double max_double = 100.;\n Assert.assertEquals...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(PolyUtils.class)", "modifier": "public static final", "original_string": "public static final Logger logger = (Logger) LoggerFactory.getLogger(PolyUtils.class);", "type": "Logger", "var_name": "logger" } ]...
{ "body": "public static double normalize2(double data, final int min, final int max) {\n data -= (0.5 * (min + max));\n data /= (0.25 * (max - min));\n return data;\n }", "class_method_signature": "PolyUtils.normalize2(double data, final int min, final int max)", "constructor": false, "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_146
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testDiv() throws Exception {\n testPoint = X.div(Z);\n refPoint = new Point(0.25, 0.4, 0.5);\n assertEquals(refPoint, testPoint);\n }", "class_method_signature": "PointTest.testDiv()", "constructor": false, "full_signature": "@Test public void testDiv()"...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point div(Point p) {\n double dx = x / p.x;\n double dy = y / p.y;\n double dz = z / p.z;\n return new Point(dx, dy, dz);\n }", "class_method_signature": "Point.div(Point p)", "constructor": false, "full_signature": "public Point div(Point p)", "identifier": "d...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_61
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testComputeRangeResolution() throws Exception {\n Assert.assertEquals(rangeResolution_EXPECTED, master.computeRangeResolution(CORNER_REFLECTOR_4), eps05);\n }", "class_method_signature": "SLCImageTest.testComputeRangeResolution()", "constructor": false, "full_signatur...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double computeRangeResolution(double pixel) {\n return ((rsr2x / 2.) / rangeBandwidth) * (computeDeltaRange(pixel) / mlRg);\n }", "class_method_signature": "SLCImage.computeRangeResolution(double pixel)", "constructor": false, "full_signature": "public double computeRangeResolution(...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_36
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testComputeAzimuthDelta() throws Exception {\n final double azimuthDelta_COMPUTED = orbit_ACTUAL.computeAzimuthDelta(pixel_EXPECTED, slcimage);\n Assert.assertEquals(azimuthDelta_EXPECTED, azimuthDelta_COMPUTED, eps_06);\n }", "class_method_signature": "OrbitTest.t...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double computeAzimuthDelta(Point sarPixel, SLCImage metadata) throws Exception {\n Point pointOnOrbit = this.getXYZ(metadata.line2ta(sarPixel.y));\n Point pointOnOrbitPlusOne = this.getXYZ(metadata.line2ta(sarPixel.y + 1));\n return Math.abs(metadata.getMlAz() * pointOnOrbit.dis...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_20
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testEq2_Range() throws Exception {\n Assert.assertEquals(eq2Range_EXPECTED, orbit_ACTUAL.eq2_Range(dSatCr_EXPECTED, pixelTime_EXPECTED.x), eps_03);\n }", "class_method_signature": "OrbitTest.testEq2_Range()", "constructor": false, "full_signature": "@Test public void ...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double eq2_Range(final Point pointEllipsSat, final double rgTime) {\n return pointEllipsSat.in(pointEllipsSat) - Math.pow(SOL * rgTime, 2);\n }", "class_method_signature": "Orbit.eq2_Range(final Point pointEllipsSat, final double rgTime)", "constructor": false, "full_signature": "pub...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_77
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testCholeskyInvert_inplace_Arrays() throws Exception {\n\n double[][] A_PASCAL_33_CHOL_ARRAY_ACTUAL = A_PASCAL_33.toArray2();\n LinearAlgebraUtils.invert(A_PASCAL_33_CHOL_ARRAY_ACTUAL);\n\n Assert.assertEquals(A_PASCAL_33_CHOL_INV_EXPECTED.toArray2(), A_PASCAL_33...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static double[][] invert(double[][] inMatrix) {\n double[][] outMatrix = inMatrix.clone();\n invert_inplace(outMatrix);\n return outMatrix;\n }", "class_method_signature": "LinearAlgebraUtils.invert(double[][] inMatrix)", "constructor": false, "full_signature": "public ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_98
{ "fields": [], "file": "jdoris-core/src/test/java/org/jdoris/core/utils/TriangleUtilsTest.java", "identifier": "TriangleUtilsTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testGridDataLinear() throws Exception {\n\n // define params\n final double DELTA_06 = 1e-06;\n Window tileWin = new Window(10000, 10127, 1500, 2011);\n int mlL = 1;\n int mlP = 1;\n double r_az_ratio = 5.2487532186594095;\n int offset...
{ "fields": [ { "declarator": "logger = Logger.getLogger(TriangleUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(TriangleUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static double[][] gridDataLinear(final double[][] x_in, final double[][] y_in, final double[][] z_in,\n final Window window, final double xyRatio, final int xScale,\n final int yScale, final double nodata, final in...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_76
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testCholesky_inplace_Arrays() throws Exception {\n double[][] A_PASCAL_33_CHOL_ARRAY_ACTUAL = A_PASCAL_33.toArray2();\n LinearAlgebraUtils.chol_inplace(A_PASCAL_33_CHOL_ARRAY_ACTUAL);\n Assert.assertEquals(A_PASCAL_33_CHOL_EXPECTED.toArray2(), A_PASCAL_33_CHOL_AR...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void chol_inplace(double[][] inMatrix) {\n final int N = inMatrix.length;\n double sum;\n for (int i = 0; i < N; ++i) {\n for (int j = i; j < N; ++j) {\n sum = inMatrix[i][j];\n for (int k = i - 1; k >= 0; --k) {\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_99
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testIsOdd() throws Exception {\n Assert.assertTrue(MathUtils.isOdd(oddVal_EXPECTED));\n Assert.assertFalse(MathUtils.isOdd(evenVal_EXPECTED));\n }", "class_method_signature": "MathUtilsTest.testIsOdd()", "constructor": false, "full_signature": "@Test public voi...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static boolean isOdd(long value) {\n return !isEven(value);\n }", "class_method_signature": "MathUtils.isOdd(long value)", "constructor": false, "full_signature": "public static boolean isOdd(long value)", "identifier": "isOdd", "invocations": [ "isEven" ], "modifiers": "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_21
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testEq3_Ellipsoid() throws Exception {\n Assert.assertEquals(eq3Ellipsoid_EXPECTED, orbit_ACTUAL.eq3_Ellipsoid(crXYZ_EXPECTED, 0), eps_06);\n }", "class_method_signature": "OrbitTest.testEq3_Ellipsoid()", "constructor": false, "full_signature": "@Test public void test...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double eq3_Ellipsoid(final Point pointOnEllips, final double height) {\n return ((Math.pow(pointOnEllips.x, 2) + Math.pow(pointOnEllips.y, 2)) / Math.pow(ell_a + height, 2)) +\n Math.pow(pointOnEllips.z / (ell_b + height), 2) - 1.0;\n }", "class_method_signature": "Orbit.e...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_37
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testComputeAzimuthResolution() throws Exception {\n final double azimuthResolution_COMPUTED = orbit_ACTUAL.computeAzimuthResolution(pixel_EXPECTED, slcimage);\n Assert.assertEquals(azimuthResolution_COMPUTED, azimuthResolution_EXPECTED, eps_06);\n }", "class_method...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double computeAzimuthResolution(Point sarPixel, SLCImage metadata) throws Exception {\n return (metadata.getPRF() / metadata.getAzimuthBandwidth()) * (this.computeAzimuthDelta(sarPixel, metadata) / metadata.getMlAz());\n }", "class_method_signature": "Orbit.computeAzimuthResolution(Point...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_60
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testComputeDeltaRange() throws Exception {\n Assert.assertEquals(deltaRange_EXPECTED, master.computeDeltaRange(CORNER_REFLECTOR_4), eps05);\n }", "class_method_signature": "SLCImageTest.testComputeDeltaRange()", "constructor": false, "full_signature": "@Test public vo...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double computeDeltaRange(double pixel) {\n return mlRg * (pix2range(pixel + 1) - pix2range(pixel));\n }", "class_method_signature": "SLCImage.computeDeltaRange(double pixel)", "constructor": false, "full_signature": "public double computeDeltaRange(double pixel)", "identifier": "co...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_147
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testIn() throws Exception {\n testDouble = X.in(Z);\n refDouble = 32;\n assertEquals(refDouble, testDouble);\n }", "class_method_signature": "PointTest.testIn()", "constructor": false, "full_signature": "@Test public void testIn()", "identifier": "test...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public double in(Point p) {\n double dx = x * p.x;\n double dy = y * p.y;\n double dz = z * p.z;\n return (dx + dy + dz);\n }", "class_method_signature": "Point.in(Point p)", "constructor": false, "full_signature": "public double in(Point p)", "identifier": "in", "i...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_110
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testRamp() throws Exception {\n\n DoubleMatrix ramp_2D_ACTUAL = MathUtils.ramp(nRows, nCols);\n Assert.assertEquals(ramp_2D_EXPECTED, ramp_2D_ACTUAL);\n }", "class_method_signature": "MathUtilsTest.testRamp()", "constructor": false, "full_signature": "@Test pub...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static DoubleMatrix ramp(final int nRows, final int nColumns) {\n // Ramp generation (to easy for function?)\n final double maxHeight = 1;\n return DoubleMatrix.ones(nRows, 1).mmul(lying(new DoubleMatrix(increment(nColumns, 0, maxHeight / (nColumns - 1)))));\n }", "class_me...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_106
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n\n public void testIncrement2D() throws Exception {\n double[][] increment_2D_ACTUAL = MathUtils.increment(5, 2, 0, 0.25);\n for (int i = 0; i < increment_2D_ACTUAL.length; i++) {\n Assert.assertArrayEquals(increment_2D_EXPECTED[i], increment_2D_ACTUAL[i], DELTA);\n ...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static double[] increment(int m, double begin, double pitch) {\n double[] array = new double[m];\n for (int i = 0; i < m; i++) {\n array[i] = begin + i * pitch;\n }\n return array;\n }", "class_method_signature": "MathUtils.increment(int m, double begin, d...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_151
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testNorm2() throws Exception {\n testDouble = X.norm2();\n refDouble = 14;\n assertEquals(refDouble, testDouble);\n }", "class_method_signature": "PointTest.testNorm2()", "constructor": false, "full_signature": "@Test public void testNorm2()", "identif...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public double norm2() {\n return x*x + y*y + z*z;\n }", "class_method_signature": "Point.norm2()", "constructor": false, "full_signature": "public double norm2()", "identifier": "norm2", "invocations": [], "modifiers": "public", "parameters": "()", "return": "double", "signature...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_95
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testFft2D_inplace() throws Exception {\n ComplexDoubleMatrix fftMatrix_2D_ACTUAL = complexMatrix_EXPECTED.dup();\n SpectralUtils.fft2D_inplace(fftMatrix_2D_ACTUAL);\n Assert.assertEquals(fftMatrix_2D_EXPECTED, fftMatrix_2D_ACTUAL);\n\n // Not Square matrix...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static void fft2D_inplace(ComplexDoubleMatrix A) {\n DoubleFFT_2D fft2d = new DoubleFFT_2D(A.rows, A.columns);\n// fft2d.complexForward(A.data);\n ComplexDoubleMatrix aTemp = A.transpose();\n fft2d.complexForward(aTemp.data);\n A.data = aTemp.transpose().data;\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_126
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testMultilook() throws Exception {\n\n int[] mlookFactorAz = new int[]{1, 2, 5, 5};\n int[] mlookFactorRg = new int[]{2, 2, 1, 5};\n\n for (int i = 0; i < mlookFactorAz.length; i++) {\n int facAz = mlookFactorAz[i];\n int facRg = mlookFactor...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static ComplexDoubleMatrix multilook(final ComplexDoubleMatrix inputMatrix, final int factorRow, final int factorColumn) {\n\n if (factorRow == 1 && factorColumn == 1) {\n return inputMatrix;\n }\n\n logger.debug(\"multilook input [inputMatrix] size: \" +\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_83
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testSetdataCmplx_JBLAS() throws Exception {\n ComplexDoubleMatrix inMatrix = new ComplexDoubleMatrix(A_PASCAL_33, A_PASCAL_33);\n Window inWin = new Window(0, 1, 0, 1);\n\n ComplexDoubleMatrix outMatrix = new ComplexDoubleMatrix(inMatrix.rows - 1, inMatrix.column...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void setdata(DoubleMatrix outMatrix, Window outWin, DoubleMatrix inMatrix, Window inWin) {\n\n if (outWin.linehi == 0 && outWin.pixhi == 0) {\n outWin.linehi = outMatrix.rows - 1;\n outWin.pixhi = outMatrix.columns - 1;\n }\n if (inWin.linehi == 0 &&...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_130
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testComplexOvsmpIfg() throws Exception {\n\n // loop through tests\n int[] ovsmpAz = new int[]{1, 2, 2, 3};\n int[] ovsmpRg = new int[]{2, 1, 2, 3};\n\n for (int i = 0; i < ovsmpAz.length; i++) {\n\n int ovsAz = ovsmpAz[i];\n int ovsR...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static ComplexDoubleMatrix computeIfg(final ComplexDoubleMatrix masterData, final ComplexDoubleMatrix slaveData) throws Exception {\n return LinearAlgebraUtils.dotmult(masterData, slaveData.conj());\n }", "class_method_signature": "SarUtils.computeIfg(final ComplexDoubleMatrix masterData...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_17
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testGetXYZDot() throws Exception {\n Assert.assertArrayEquals(satelliteVel_EXPECTED.toArray(), orbit_ACTUAL.getXYZDot(pixelTime_EXPECTED.y).toArray(), eps_06);\n }", "class_method_signature": "OrbitTest.testGetXYZDot()", "constructor": false, "full_signature": "@Test ...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public Point getXYZDot(double azTime) {\n\n if (azTime < time[0] || azTime > time[numStateVectors - 1]) {\n logger.warn(\"getXYZDot() interpolation at: \" + azTime + \" is outside interval time axis: (\"\n + time[0] + \", \" + time[numStateVectors - 1] + \").\");\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_40
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFileTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(ResFileTest.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "testFile"...
{ "body": "@Test\n public void testQueryKeyInteger() throws Exception {\n int expectedValue = 1;\n int returnValue = resFile.parseIntegerValue(\"resample\");\n\n Assert.assertEquals(expectedValue, returnValue, 0.0000);\n }", "class_method_signature": "ResFileTest.testQueryKeyInteger()", ...
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFile.class.getName())", "modifier": "private static", "original_string": "private static Logger logger = Logger.getLogger(ResFile.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "r...
{ "body": "public int parseIntegerValue(String key) {\n return Integer.parseInt(parseStringValue(key));\n }", "class_method_signature": "ResFile.parseIntegerValue(String key)", "constructor": false, "full_signature": "public int parseIntegerValue(String key)", "identifier": "parseIntegerValue", "i...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_56
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testTr2pix() throws Exception {\n double pixel_ACTUAL = master.tr2pix(rgTime_EXPECTED);\n Assert.assertEquals(pixel_EXPECTED, pixel_ACTUAL, eps05);\n\n }", "class_method_signature": "SLCImageTest.testTr2pix()", "constructor": false, "full_signature": "@Test pub...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double tr2pix(double rangeTime) {\n return 1.0 + (rsr2x * (rangeTime - tRange1));\n }", "class_method_signature": "SLCImage.tr2pix(double rangeTime)", "constructor": false, "full_signature": "public double tr2pix(double rangeTime)", "identifier": "tr2pix", "invocations": [], "m...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_7
{ "fields": [ { "declarator": "testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\"", "modifier": "private static final", "original_string": "private static final String testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\";", "type": "String", "var_name"...
{ "body": "@Test\n public void testSpatialConvFilter() throws Exception {\n\n String kernelFileName = testDirectorySpatial + \"kernel2d.cr4.swap\";\n ComplexDoubleMatrix kernel2d_EXPECTED = readCplxFloatData(kernelFileName, 128, 128);\n\n final double[] kernel = {0.2, 0.2, 0.2, 0.2, 0.2};\n ...
{ "fields": [ { "declarator": "GOLDSTEIN_THRESHOLD = 1e-20", "modifier": "private static final", "original_string": "private static final double GOLDSTEIN_THRESHOLD = 1e-20;", "type": "double", "var_name": "GOLDSTEIN_THRESHOLD" }, { "declarator": "method", "modifi...
{ "body": "private void constructRectKernel() {\n\n // 1d kernel\n final DoubleMatrix kernel1d = new DoubleMatrix(1, blockSize); // init to zeros\n final int overlapLines = (int) Math.floor(kernelArray.length / 2.);\n\n // 1d kernel function\n for (int ii = -overlapLines; ii <= over...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_96
{ "fields": [ { "declarator": "complexMatrix_EXPECTED", "modifier": "private static", "original_string": "private static ComplexDoubleMatrix complexMatrix_EXPECTED;", "type": "ComplexDoubleMatrix", "var_name": "complexMatrix_EXPECTED" }, { "declarator": "complexMatrix_E...
{ "body": "@Test\n public void testInvfft2D() throws Exception {\n ComplexDoubleMatrix complexMatrix_ACTUAL = SpectralUtils.invfft2d(fftMatrix_2D_EXPECTED);\n Assert.assertEquals(complexMatrix_EXPECTED, complexMatrix_ACTUAL);\n\n // Not Square matrix!\n ComplexDoubleMatrix complexMatrix...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SpectralUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SpectralUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/m...
{ "body": "public static ComplexDoubleMatrix invfft2d(ComplexDoubleMatrix inMatrix) {\n ComplexDoubleMatrix outMatrix = inMatrix.dup();\n invfft2D_inplace(outMatrix);\n return outMatrix;\n }", "class_method_signature": "SpectralUtils.invfft2d(ComplexDoubleMatrix inMatrix)", "constructor": ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_79
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testCholesky_inplace_JBLAS() throws Exception {\n\n DoubleMatrix A_PASCAL_33_CHOL_MATRIX_ACTUAL = A_PASCAL_33.dup();\n LinearAlgebraUtils.chol_inplace(A_PASCAL_33_CHOL_MATRIX_ACTUAL);\n Assert.assertEquals(A_PASCAL_33_CHOL_EXPECTED, A_PASCAL_33_CHOL_MATRIX_ACTUAL...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void chol_inplace(double[][] inMatrix) {\n final int N = inMatrix.length;\n double sum;\n for (int i = 0; i < N; ++i) {\n for (int j = i; j < N; ++j) {\n sum = inMatrix[i][j];\n for (int k = i - 1; k >= 0; --k) {\n ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_125
{ "fields": [ { "declarator": "DELTA = 10e-16", "modifier": "private static final", "original_string": "private static final double DELTA = 10e-16;", "type": "double", "var_name": "DELTA" }, { "declarator": "NumOfSamples = 16", "modifier": "final static", "o...
{ "body": "@Test\n public void testSimpleHamming() throws Exception {\n final int n = 8;\n double[] hammingWindow_EXPECTED = {0.08, 0.253194691144983, 0.642359629619905, 0.954445679235113, 0.954445679235113, 0.642359629619905, 0.253194691144983, 0.08};\n double[] hammingWindow_ACTUAL = WeightW...
{ "fields": [ { "declarator": "n", "modifier": "private static", "original_string": "private static int n;", "type": "int", "var_name": "n" } ], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/WeightWindows.java", "identifier": "WeightWindows", "interfaces": "", ...
{ "body": "public static double[] hamming(final int n) {\n double[] window = new double[n];\n for (int i = 0; i < n; i++) {\n window[i] = 0.54 - 0.46 * Math.cos(2 * Math.PI * ((double) i / (double) (n - 1)));\n }\n return window;\n }", "class_method_signature": "WeightWindo...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_38
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFileTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(ResFileTest.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "testFile"...
{ "body": "@Test\n public void testSetSubBuffer() throws Exception {\n\n resFile.setSubBuffer(\"Start_process_control\", \"End_process_control\");\n int idxStartExpected = 0;\n int idxEndExpected = processControlBlock.length();\n\n Assert.assertEquals(idxStartExpected, resFile.getStartI...
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFile.class.getName())", "modifier": "private static", "original_string": "private static Logger logger = Logger.getLogger(ResFile.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "r...
{ "body": "public void setSubBuffer(int start, int end) {\n if (start > end) {\n throw new InputMismatchException();\n } else {\n startIdx = start;\n endIdx = end;\n }\n }", "class_method_signature": "ResFile.setSubBuffer(int start, int end)", "constructor"...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_80
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testCholeskyInvert_inplace_JBLAS() throws Exception {\n\n DoubleMatrix A_PASCAL_33_CHOL_MATRIX_ACTUAL = A_PASCAL_33.dup();\n LinearAlgebraUtils.invert_inplace(A_PASCAL_33_CHOL_MATRIX_ACTUAL);\n Assert.assertEquals(A_PASCAL_33_CHOL_INV_EXPECTED, A_PASCAL_33_CHOL_M...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static void invert_inplace(double[][] inMatrix) {\n chol_inplace(inMatrix);\n invertChol_inplace(inMatrix);\n arrangeCholesky_inplace(inMatrix);\n }", "class_method_signature": "LinearAlgebraUtils.invert_inplace(double[][] inMatrix)", "constructor": false, "full_signatu...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_133
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testMagnitude() throws Exception {\n DoubleMatrix magnitude_ACTUAL = SarUtils.magnitude(cplxData);\n Assert.assertEquals(DoubleMatrix.ones(cplxData.rows, cplxData.columns), magnitude_ACTUAL);\n }", "class_method_signature": "SarUtilsTest.testMagnitude()", "constr...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static DoubleMatrix magnitude(final ComplexDoubleMatrix inputMatrix) {\n return sqrt(intensity(inputMatrix));\n }", "class_method_signature": "SarUtils.magnitude(final ComplexDoubleMatrix inputMatrix)", "constructor": false, "full_signature": "public static DoubleMatrix magnitude(fin...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_14
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testOrbitInterpolationCoeffs_Y() throws Exception {\n Assert.assertArrayEquals(orbitCoeff_Y_EXPECTED, orbit_ACTUAL.getCoeff_Y(), eps_04);\n }", "class_method_signature": "OrbitTest.testOrbitInterpolationCoeffs_Y()", "constructor": false, "full_signature": "@Test publi...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double[] getCoeff_Y() {\n return coeff_Y;\n }", "class_method_signature": "Orbit.getCoeff_Y()", "constructor": false, "full_signature": "public double[] getCoeff_Y()", "identifier": "getCoeff_Y", "invocations": [], "modifiers": "public", "parameters": "()", "return": "doubl...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_148
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testMultByScalar() throws Exception {\n testPoint = X.multByScalar(4.25);\n refPoint = new Point(4.25, 8.5, 12.75);\n assertEquals(refPoint, testPoint);\n }", "class_method_signature": "PointTest.testMultByScalar()", "constructor": false, "full_signature...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point multByScalar(double scalar) {\n double dx = x * scalar;\n double dy = y * scalar;\n double dz = z * scalar;\n return new Point(dx, dy, dz);\n }", "class_method_signature": "Point.multByScalar(double scalar)", "constructor": false, "full_signature": "public ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_43
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFileTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(ResFileTest.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "testFile"...
{ "body": "@Test\n public void testParseOrbit() throws Exception {\n\n double[][] expectedOrbit = {{22371.000000,2980481.384,5510209.440,3468130.655},\n {22373.000000,2986908.023,5514837.160,3455264.837},\n {22375.000000,2993323.103,55194...
{ "fields": [ { "declarator": "logger = Logger.getLogger(ResFile.class.getName())", "modifier": "private static", "original_string": "private static Logger logger = Logger.getLogger(ResFile.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "r...
{ "body": "public double[][] parseOrbit() throws Exception {\n\n // get number of state vectors\n final String numStateVectorsKey = \"NUMBER_OF_DATAPOINTS\";\n final int numberOfStateVectors = parseIntegerValue(numStateVectorsKey);\n\n final double[][] stateVectors = new double[numberOfSta...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_55
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testPix2tr() throws Exception {\n double rgTime_ACTUAL = master.pix2tr(pixel_EXPECTED);\n Assert.assertEquals(rgTime_EXPECTED, rgTime_ACTUAL, eps05);\n }", "class_method_signature": "SLCImageTest.testPix2tr()", "constructor": false, "full_signature": "@Test pub...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double pix2tr(double pixel) {\n return tRange1 + ((pixel - 1.0) / rsr2x);\n }", "class_method_signature": "SLCImage.pix2tr(double pixel)", "constructor": false, "full_signature": "public double pix2tr(double pixel)", "identifier": "pix2tr", "invocations": [], "modifiers": "publ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_109
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testLying() throws Exception{\n DoubleMatrix inMatrix = DoubleMatrix.ones(2, 2);\n DoubleMatrix lying_EXPECTED = DoubleMatrix.ones(1, 4);\n\n Assert.assertEquals(lying_EXPECTED, MathUtils.lying(inMatrix));\n\n // redefine inputMatrix to test vectors\n ...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static DoubleMatrix lying(DoubleMatrix inMatrix) {\n return new DoubleMatrix(inMatrix.toArray()).transpose();\n }", "class_method_signature": "MathUtils.lying(DoubleMatrix inMatrix)", "constructor": false, "full_signature": "public static DoubleMatrix lying(DoubleMatrix inMatrix)", ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_4
{ "fields": [ { "declarator": "DELTA_04 = 1e-04", "modifier": "private static final", "original_string": "private static final double DELTA_04 = 1e-04;", "type": "double", "var_name": "DELTA_04" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void filterBlock_HAMM_OVSMP() throws Exception {\n\n /// define parameters parameters\n final double alphaHamming = 0.75;\n final int ovsFactor = 2;\n final boolean doWeightCorrelFlag = false;\n\n masterCplx_ACTUAL = masterCplx.dup();\n slaveCplx_...
{ "fields": [ { "declarator": "logger = Logger.getLogger(RangeFilter.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(RangeFilter.class.getName());", "type": "Logger", "var_name": "logger" }, { "declarator": "generalIn...
{ "body": "@Deprecated\n public static void filterBlock(ComplexDoubleMatrix masterDataBlock, // updated\n ComplexDoubleMatrix slaveDataBlock, // updated\n int nlMean,\n double SNRthreshold,\n double RSR, //...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_129
{ "fields": [ { "declarator": "nRows = 128", "modifier": "static", "original_string": "static int nRows = 128;", "type": "int", "var_name": "nRows" }, { "declarator": "nCols = 256", "modifier": "static", "original_string": "static int nCols = 256;", "t...
{ "body": "@Test\n public void testCoherence2() throws Exception {\n\n // get test data\n String fileTestDataName_1 = testDataLocationCoh + \"CINT_input\" + \".cr4.swap\";\n String fileTestDataName_2 = testDataLocationCoh + \"NORMS_input\" + \".cr4.swap\";\n\n final int nRows = 128;\n ...
{ "fields": [ { "declarator": "logger = Logger.getLogger(SarUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(SarUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-core/src/main/java/o...
{ "body": "public static DoubleMatrix coherence2(final ComplexDoubleMatrix input, final ComplexDoubleMatrix norms, final int winL, final int winP) {\n\n logger.trace(\"coherence ver #2\");\n if (!(winL >= winP)) {\n logger.warn(\"coherence: estimator window size L<P not very efficiently progr...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_75
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testWshift_JBLAS() throws Exception {\n DoubleMatrix A_15_SHIFT_ACTUAL = LinearAlgebraUtils.wshift(A_15, 3);\n Assert.assertEquals(A_15_SHIFT_ACTUAL, A_15_SHIFT_EXPECTED);\n }", "class_method_signature": "LinearAlgebraUtilsTest.testWshift_JBLAS()", "constructor":...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static DoubleMatrix wshift(DoubleMatrix inMatrix, int n) {\n DoubleMatrix outMatrix = inMatrix.dup();\n wshift_inplace(outMatrix, n);\n return outMatrix;\n }", "class_method_signature": "LinearAlgebraUtils.wshift(DoubleMatrix inMatrix, int n)", "constructor": false, "fu...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_22
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testXyz2t() throws Exception {\n Point sarTime_ACTUAL = orbit_ACTUAL.xyz2t(pixelXYZ_EXPECTED, slcimage);\n Assert.assertEquals(pixelTime_EXPECTED.x, sarTime_ACTUAL.x, eps_06);\n Assert.assertEquals(pixelTime_EXPECTED.y, sarTime_ACTUAL.y, eps_06);\n\n Syste...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public synchronized Point xyz2t(final Point pointOnEllips, final SLCImage slcimage) {\n\n Point delta;\n\n // inital value\n double timeAzimuth = slcimage.line2ta(0.5 * slcimage.getApproxRadarCentreOriginal().y);\n\n int iter;\n double solution = 0;\n for (iter = 0...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_34
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testComputeEarthRadius() throws Exception {\n final double earthRadius_ACTUAL = orbit_ACTUAL.computeEarthRadius(pixel_EXPECTED, slcimage);\n Assert.assertEquals(earthRadius_EXPECTED, earthRadius_ACTUAL, eps_03);\n }", "class_method_signature": "OrbitTest.testComput...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double computeEarthRadius(Point p, SLCImage metadata) throws Exception {\n return this.lp2xyz(p, metadata).norm();\n }", "class_method_signature": "Orbit.computeEarthRadius(Point p, SLCImage metadata)", "constructor": false, "full_signature": "public double computeEarthRadius(Point p...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_63
{ "fields": [ { "declarator": "A_15 = new DoubleMatrix(5, 1)", "modifier": "private static", "original_string": "private static DoubleMatrix A_15 = new DoubleMatrix(5, 1);", "type": "DoubleMatrix", "var_name": "A_15" }, { "declarator": "A_15_SHIFT_EXPECTED = new DoubleM...
{ "body": "@Test\n public void testSolve22() throws Exception {\n double[] SOL_22_ACTUAL = LinearAlgebraUtils.solve22(A_PASCAL_22.toArray2(), X_22);\n Assert.assertArrayEquals(SOL_22_EXPECTED, SOL_22_ACTUAL, DELTA);\n }", "class_method_signature": "LinearAlgebraUtilsTest.testSolve22()", "const...
{ "fields": [ { "declarator": "logger = Logger.getLogger(LinearAlgebraUtils.class.getName())", "modifier": "static", "original_string": "static Logger logger = Logger.getLogger(LinearAlgebraUtils.class.getName());", "type": "Logger", "var_name": "logger" } ], "file": "jdoris-...
{ "body": "public static double[] solve22(double[][] A, double[] y) throws IllegalArgumentException {\n\n double[] result = new double[2];\n\n if (A[0].length != 2 || A.length != 2) {\n throw new IllegalArgumentException(\"solve22: input: size of A not 22.\");\n }\n if (y.length...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_144
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testPlus() throws Exception {\n testPoint = Z.plus(X);\n refPoint = new Point(5, 7, 9);\n assertEquals(refPoint, testPoint);\n }", "class_method_signature": "PointTest.testPlus()", "constructor": false, "full_signature": "@Test public void testPlus()", ...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point plus(Point p) {\n double dx = x + p.x;\n double dy = y + p.y;\n double dz = z + p.z;\n return new Point(dx, dy, dz);\n }", "class_method_signature": "Point.plus(Point p)", "constructor": false, "full_signature": "public Point plus(Point p)", "identifier":...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_18
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testGetXYZDotDot() throws Exception {\n Assert.assertArrayEquals(satelliteAcc_EXPECTED.toArray(), orbit_ACTUAL.getXYZDotDot(pixelTime_EXPECTED.y).toArray(), eps_06);\n }", "class_method_signature": "OrbitTest.testGetXYZDotDot()", "constructor": false, "full_signature"...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public Point getXYZDotDot(final double azTime) {\n\n //TODO: sanity check\n Point satelliteAcceleration = new Point();\n\n // normalize time\n double azTimeNormal = (azTime - time[time.length / 2]) / 10.0d;\n\n // NOTE: orbit interpolator is simple polynomial\n // ...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_113
{ "fields": [ { "declarator": "DELTA_06 = 1e-06", "modifier": "private static final", "original_string": "private static final double DELTA_06 = 1e-06;", "type": "double", "var_name": "DELTA_06" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testDegreeFromCoefficients() throws Exception {\n final int degree_EXPECTED = 5;\n int degree_ACTUAL = PolyUtils.degreeFromCoefficients(21);\n Assert.assertEquals(degree_EXPECTED, degree_ACTUAL);\n }", "class_method_signature": "PolyUtilsTest.testDegreeFromC...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(PolyUtils.class)", "modifier": "public static final", "original_string": "public static final Logger logger = (Logger) LoggerFactory.getLogger(PolyUtils.class);", "type": "Logger", "var_name": "logger" } ]...
{ "body": "public static int degreeFromCoefficients(int numOfCoefficients) {\n// return (int) (0.5 * (-1 + (int) (Math.sqrt((double) (1 + 8 * numOfCoefficients))))) - 1;\n return (int) (0.5 * (-1 + (int) (Math.sqrt((double) (1 + 8 * numOfCoefficients))))) - 1;\n }", "class_method_signature": "PolyU...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_105
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testIncrement1D() throws Exception {\n double[] increment_1D_ACTUAL = MathUtils.increment(5, 0, 0.25);\n Assert.assertArrayEquals(increment_1D_EXPECTED, increment_1D_ACTUAL, DELTA);\n }", "class_method_signature": "MathUtilsTest.testIncrement1D()", "constructor":...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static double[] increment(int m, double begin, double pitch) {\n double[] array = new double[m];\n for (int i = 0; i < m; i++) {\n array[i] = begin + i * pitch;\n }\n return array;\n }", "class_method_signature": "MathUtils.increment(int m, double begin, d...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_59
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testLp2t() throws Exception {\n final Point sarPoint = new Point(pixel_EXPECTED, line_EXPECTED);\n final Point timePoint = master.lp2t(sarPoint);\n Assert.assertEquals(rgTime_EXPECTED, timePoint.x, eps05);\n Assert.assertEquals(azTime_EXPECTED, timePoint.y...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public Point lp2t(Point p) {\n return new Point(pix2tr(p.x), line2ta(p.y));\n }", "class_method_signature": "SLCImage.lp2t(Point p)", "constructor": false, "full_signature": "public Point lp2t(Point p)", "identifier": "lp2t", "invocations": [ "pix2tr", "line2ta" ], "modifier...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_152
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testNorm() throws Exception {\n testDouble = (float)X.norm();\n refDouble = 3.741657387;\n assertEquals(refDouble, testDouble, delta);\n }", "class_method_signature": "PointTest.testNorm()", "constructor": false, "full_signature": "@Test public void test...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public double norm() {\n return Math.sqrt(x*x + y*y + z*z);\n }", "class_method_signature": "Point.norm()", "constructor": false, "full_signature": "public double norm()", "identifier": "norm", "invocations": [ "sqrt" ], "modifiers": "public", "parameters": "()", "return": "...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_8
{ "fields": [ { "declarator": "testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\"", "modifier": "private static final", "original_string": "private static final String testDirectoryGoldstein = \"/d2/etna_test/phaseFiltTest/goldstein/\";", "type": "String", "var_name"...
{ "body": "@Test\n public void testSpatialConv() throws Exception {\n\n // load input data\n String cplxDataFileName = testDirectorySpatial + \"data_input.cr4.swap\";\n ComplexDoubleMatrix cplxData = readCplxFloatData(cplxDataFileName, 128, 512);\n\n String cplxDataFilteredFileName = te...
{ "fields": [ { "declarator": "GOLDSTEIN_THRESHOLD = 1e-20", "modifier": "private static final", "original_string": "private static final double GOLDSTEIN_THRESHOLD = 1e-20;", "type": "double", "var_name": "GOLDSTEIN_THRESHOLD" }, { "declarator": "method", "modifi...
{ "body": "private void constructRectKernel() {\n\n // 1d kernel\n final DoubleMatrix kernel1d = new DoubleMatrix(1, blockSize); // init to zeros\n final int overlapLines = (int) Math.floor(kernelArray.length / 2.);\n\n // 1d kernel function\n for (int ii = -overlapLines; ii <= over...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_9
{ "fields": [ { "declarator": "snaphuConfigFile", "modifier": "static", "original_string": "static SnaphuConfigFile snaphuConfigFile;", "type": "SnaphuConfigFile", "var_name": "snaphuConfigFile" } ], "file": "jdoris-core/src/test/java/org/jdoris/core/unwrapping/snaphu/SnaphuC...
{ "body": "@Test\n public void testBuildConfFile() throws Exception {\n\n snaphuConfigFile.buildConfFile();\n\n // write buffer for testing\n try {\n BufferedWriter out = new BufferedWriter(new FileWriter(\"/d2/snaphu_test.conf\"));\n out.write(snaphuConfigFile.getConfigF...
{ "fields": [ { "declarator": "format3 = new DecimalFormat(\"#.###\")", "modifier": "", "original_string": "DecimalFormat format3 = new DecimalFormat(\"#.###\");", "type": "DecimalFormat", "var_name": "format3" }, { "declarator": "format7 = new DecimalFormat(\"#.#######...
{ "body": "public void buildConfFile() throws Exception {\n\n // Mid point\n final double lineMid = 0.5d * dataWindow.lines() + 0.5;\n final double pixelMid = 0.5d * dataWindow.pixels() + 0.5;\n\n Point pointSAR = new Point(pixelMid, lineMid, 0);\n\n final double earthRadius = maste...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_153
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testNormalize() throws Exception {\n testPoint = X.normalize();\n refPoint = new Point(0.26726124, 0.53452248, 0.80178372);\n assertEquals(refPoint.x, testPoint.x, delta);\n assertEquals(refPoint.y, testPoint.y, delta);\n assertEquals(refPoint.z, te...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point normalize() {\n double norm = this.norm();\n double dx = x / norm;\n double dy = y / norm;\n double dz = z / norm;\n return new Point(dx, dy, dz);\n }", "class_method_signature": "Point.normalize()", "constructor": false, "full_signature": "public Po...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_58
{ "fields": [ { "declarator": "resFile", "modifier": "private static", "original_string": "private static File resFile;", "type": "File", "var_name": "resFile" }, { "declarator": "master = new SLCImage()", "modifier": "private static", "original_string": "pr...
{ "body": "@Test\n public void testTa2line() throws Exception {\n double line_ACTUAL = master.ta2line(azTime_EXPECTED);\n Assert.assertEquals(line_EXPECTED, line_ACTUAL, eps02);\n\n }", "class_method_signature": "SLCImageTest.testTa2line()", "constructor": false, "full_signature": "@Test pub...
{ "fields": [ { "declarator": "resFileName", "modifier": "private", "original_string": "private File resFileName;", "type": "File", "var_name": "resFileName" }, { "declarator": "fileName", "modifier": "private", "original_string": "private String fileName;",...
{ "body": "public double ta2line(double azitime) {\n return 1.0 + PRF * (azitime - tAzi1);\n }", "class_method_signature": "SLCImage.ta2line(double azitime)", "constructor": false, "full_signature": "public double ta2line(double azitime)", "identifier": "ta2line", "invocations": [], "modifiers":...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_104
{ "fields": [ { "declarator": "powerOfTwo_EXPECTED", "modifier": "static", "original_string": "static double powerOfTwo_EXPECTED;", "type": "double", "var_name": "powerOfTwo_EXPECTED" }, { "declarator": "notPowerOfTwo_EXPECTED", "modifier": "static", "origin...
{ "body": "@Test\n public void testDistributePoints() throws Exception {\n int[][] distribPnts_ACTUAL = MathUtils.distributePoints(numOfPnts, winForDistribution);\n for (int i = 0; i < distribPnts_ACTUAL.length; i++) {\n// for (int j = 0; j < distribPnts_ACTUAL[0].length; j++) {\n// ...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/utils/MathUtils.java", "identifier": "MathUtils", "interfaces": "", "methods": [ { "class_method_signature": "MathUtils.isEven(long value)", "constructor": false, "full_signature": "public static boolean isEven(long value...
{ "body": "public static int[][] distributePoints(final int numOfPoints, final Window window) {\n\n final float lines = window.lines();\n final float pixels = window.pixels();\n\n int[][] result = new int[numOfPoints][2];\n\n // Distribution for dl=dp\n float winP = (float) Math.sqr...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_112
{ "fields": [ { "declarator": "DELTA_06 = 1e-06", "modifier": "private static final", "original_string": "private static final double DELTA_06 = 1e-06;", "type": "double", "var_name": "DELTA_06" }, { "declarator": "DELTA_03 = 1e-03", "modifier": "private static fi...
{ "body": "@Test\n public void testNormalize() throws Exception {\n double[] array_EXPECTED = {1, 2};\n double[] normArray_EXPECTED = {-0.1, 0};\n\n Assert.assertEquals(new DoubleMatrix(normArray_EXPECTED), PolyUtils.normalize(new DoubleMatrix(array_EXPECTED)));\n }", "class_method_signat...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(PolyUtils.class)", "modifier": "public static final", "original_string": "public static final Logger logger = (Logger) LoggerFactory.getLogger(PolyUtils.class);", "type": "Logger", "var_name": "logger" } ]...
{ "body": "public static DoubleMatrix normalize(DoubleMatrix t) {\n return t.sub(t.get(t.length / 2)).div(10.0);\n }", "class_method_signature": "PolyUtils.normalize(DoubleMatrix t)", "constructor": false, "full_signature": "public static DoubleMatrix normalize(DoubleMatrix t)", "identifier": "norma...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_19
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(OrbitTest.class.getName());", "type": "Logger", "var_name": "logger" }, { ...
{ "body": "@Test\n public void testEq1_Doppler() throws Exception {\n Assert.assertEquals(eq1Doppler_EXPECTED, orbit_ACTUAL.eq1_Doppler(satelliteVel_EXPECTED, dSatCr_EXPECTED), eps_06);\n }", "class_method_signature": "OrbitTest.testEq1_Doppler()", "constructor": false, "full_signature": "@Test pub...
{ "fields": [ { "declarator": "logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName())", "modifier": "static", "original_string": "static Logger logger = (Logger) LoggerFactory.getLogger(Orbit.class.getName());", "type": "Logger", "var_name": "logger" }, { "dec...
{ "body": "public double eq1_Doppler(final Point satVelocity, final Point pointOnEllips) {\n return satVelocity.in(pointOnEllips);\n }", "class_method_signature": "Orbit.eq1_Doppler(final Point satVelocity, final Point pointOnEllips)", "constructor": false, "full_signature": "public double eq1_Doppler...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }
1605107_145
{ "fields": [ { "declarator": "array = {1, 2, 3}", "modifier": "private", "original_string": "private double[] array = {1, 2, 3};", "type": "double[]", "var_name": "array" }, { "declarator": "X = new Point(array)", "modifier": "private", "original_string": "...
{ "body": "@Test\n public void testMult() throws Exception {\n testPoint = X.mult(Z);\n refPoint = new Point(4, 10, 18);\n assertEquals(refPoint, testPoint);\n }", "class_method_signature": "PointTest.testMult()", "constructor": false, "full_signature": "@Test public void testMult()",...
{ "fields": [], "file": "jdoris-core/src/main/java/org/jdoris/core/Point.java", "identifier": "Point", "interfaces": "", "methods": [ { "class_method_signature": "Point.Point()", "constructor": true, "full_signature": "public Point()", "identifier": "Point", "modifiers": "pu...
{ "body": "public Point mult(Point p) {\n double dx = x * p.x;\n double dy = y * p.y;\n double dz = z * p.z;\n return new Point(dx, dy, dz);\n }", "class_method_signature": "Point.mult(Point p)", "constructor": false, "full_signature": "public Point mult(Point p)", "identifier":...
{ "created": null, "fork": null, "fork_count": 1, "is_fork": false, "language": "Java", "license": "licensed", "repo_id": 1605107, "size": 3997, "stargazer_count": 5, "stars": null, "updates": null, "url": "https://github.com/ppolabs/jdoris" }