-
Currently the automated buffer that is used when `crop=True` is hard-coded as 4 model pixels on either side of the analysis extent, e.g.: https://github.com/tsutterley/pyTMD/blob/main/pyTMD/io/FES.py#…
-
As discussed in #8659, the trigonometry-heavy implementation of [`DistanceOnSphere`](https://github.com/organicmaps/organicmaps/blob/d5a5ad96f5c3f7f9c0582e892476ffb58702aa58/geometry/distance_on_spher…
Tmpod updated
4 months ago
-
```javascript
function distance2(x1, y1, x2, y2) {
var xd = (x1-x2) * (x1-x2);
var yd = (y1-y2) * (y1-y2);
return Math.sqrt( xd + yd );
}
LineMesh.prototype.update = function (path…
-
``` python
locs3d -= sphere[:3]
# use spherical (theta, pol) as (r, theta) for polar->cartesian
cart_coords = _cart_to_sph(locs3d)
out = _pol_to_cart(cart_coords[:, 1:][:, ::-1])
# scale from ra…
-
I've been trying to modify tutorial-08 to do a free energy ligand binding calculation on Bromodomain-BRD4, very similar to the one in the APR paper from 2017. With my setup, Tutorial-08 will run to co…
-
implement a vectorized nearest image distance calculation for RDFs and compare speed with mdtraj.
-
Some metric/feature combinations are inappropriate and will calls AD index calculations to fail. For example, Jaccard distance with RDKit features results in a pairwise distance matrix that is all zer…
-
Your source code ([receiver.ino, line 250](https://github.com/subpos/subpos_receiver/blob/master/receiver.ino#L250)) and your [wiki](http://wiki.subpos.org/index.php?title=Path_Loss_Calculation) indic…
-
Per [a code review code discussion](https://github.com/celeritas-project/celeritas/pull/291#pullrequestreview-852818286 ) with @hahnjo, the `CalcSafetyDistance` algorithm (unused but in there as a pla…
-
Hello, I've noticed that the calculation of the center of the Gaussian (mean) in the code is achieved by multiplying the direction by the depth.
```
origins, directions = get_world_rays(coordinates…