console.log(`computing accessible surface area for unit #${unit.id+1}`);
console.log(`computing accessible surface area for unit #${unit.id+1}`);
return_computeAccessibleSurfaceArea(unit,{
return_computeAccessibleSurfaceArea(unit,{
numberOfSpherePoints:(params&¶ms.numberOfSpherePoints)||92/* original value Shrake, A. & Rupley, J. A. (1973) J. Mol. Biol. 79: 92, BioJava: 960, EPPIC: 3000 */,
numberOfSpherePoints:(params&¶ms.numberOfSpherePoints)||92/* original value Shrake, A. & Rupley, J. A. (1973) J. Mol. Biol. 79: 92, BioJava: 960, EPPIC: 3000 */,
/** 92: 1600ms, 960: 5000ms, 3000: 13000ms */
/** 92: 1600ms, 960: 5000ms, 3000: 13000ms */
probeSize:(params&¶ms.probeSize)||1.4
probeSize:(params&¶ms.probeSize)||1.4
});
});
}else{
// } else {
return{
// return {
atomRadius:[],
// atomRadius: [],
accessibleSurfaceArea:[],
// accessibleSurfaceArea: [],
relativeAccessibleSurfaceArea:[],
// relativeAccessibleSurfaceArea: [],
buried:void0
// buried: void 0
}
// }
}
// }
}
}
/** Creates a collection of points on a sphere by the Golden Section Spiral algorithm. */
/** Creates a collection of points on a sphere by the Golden Section Spiral algorithm. */