Skip to main content

Normal score forward

This task transforms data into values that follow a standard normal distribution, also known as a gaussian distribution. It preserves the values' rank order. It comes in handy because some geostatistical methods are designed to work with gaussian data.

Parameters

Example

Request

requests.post(
"https://{hub}.api.seequent.com/compute/orgs/{org_id}]/geostat/normal-score-forward",
headers={"Authorization": "Bearer {token}"},
json={
"parameters": {
"source": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-pointset.json",
"object_element": [
{
"type": "element",
"path": "/locations/attributes/@name=my-data",
},
],
},
"target": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-pointset.json",
"object_element": [
{
"type": "element",
"path": "/locations/attributes/@name=my-gaussian-data",
},
],
},
"distribution": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-distribution.json",
},
},
},
)

Result

{
"message": "Forward normal-score transformation completed.",
"object_modified": {
"type": "geoscience-object-reference",
"object_reference": "https://{hub}.api.seequent.com/geoscience-object/orgs/{org_id}/workspaces/{workspace_id}/objects/path/my-pointset.json",
"object_element": [
{
"type": "element",
"path": "/locations/attributes/@name=my-gaussian-data",
},
],
},
}

Tips

  • The source and target can use the same object, but they don't have to.