Skip to content
Snippets Groups Projects
Commit c05b67bd authored by Alexander Rose's avatar Alexander Rose
Browse files

allow more coarse resolution

parent 298e13fc
Branches
Tags
No related merge requests found
......@@ -46,7 +46,7 @@ function getAngleTables (probePositions: number): AnglesTables {
//
export const MolecularSurfaceCalculationParams = {
resolution: PD.Numeric(0.5, { min: 0.01, max: 10, step: 0.01 }),
resolution: PD.Numeric(0.5, { min: 0.01, max: 20, step: 0.01 }),
probeRadius: PD.Numeric(1.4, { min: 0, max: 10, step: 0.1 }),
probePositions: PD.Numeric(30, { min: 12, max: 90, step: 1 }),
}
......
......@@ -14,7 +14,7 @@ import { WebGLContext } from 'mol-gl/webgl/context';
import { getUnitConformationAndRadius, getStructureConformationAndRadius } from './common';
export const GaussianDensityParams = {
resolution: PD.Numeric(1, { min: 0.1, max: 10, step: 0.1 }),
resolution: PD.Numeric(1, { min: 0.1, max: 20, step: 0.1 }),
radiusOffset: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }),
smoothness: PD.Numeric(1.5, { min: 0.5, max: 2.5, step: 0.1 }),
useGpu: PD.Boolean(false),
......@@ -23,7 +23,7 @@ export const DefaultGaussianDensityProps = PD.getDefaultValues(GaussianDensityPa
export type GaussianDensityProps = typeof DefaultGaussianDensityProps
export const GaussianDensityTextureParams = {
resolution: PD.Numeric(1, { min: 0.1, max: 10, step: 0.1 }),
resolution: PD.Numeric(1, { min: 0.1, max: 20, step: 0.1 }),
radiusOffset: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }),
smoothness: PD.Numeric(1.5, { min: 0.5, max: 2.5, step: 0.1 }),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment