Skip to main content

Example package description

Project description

App fourparamsfit

Description:

Run project in local:

In the root dir of this up run

docker-compose up -d

Example for swager

{
  "data": {
    "dose": [
      0.1, 0.5, 1.0, 5.0, 10.0, 50.0, 100.0
    ],
    "response": [
      0.2, 0.5, 0.9, 4.0, 8.0, 9.0, 9.2
    ],
    "response_err": [
      0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.02
    ]
  },
  "config": {
    "InitialParams": {
      "Lower": 0.1,
      "Upper": 10.0,
      "IC50": 1.0,
      "Hill": 1.0
    },
    "FixedParams": {
      "Lower": false,
      "Upper": false,
      "IC50": false,
      "Hill": false
    },
    "Bounds": {
      "Lower": [
        0, 1
      ],
      "Upper": [
        0, 100
      ],
      "IC50": [
        0, 10
      ],
      "Hill": [
        0, 10
      ]
    }
  }
}

API call example

curl -X 'POST' \
                'http://127.0.0.1:8000/FourParamsDoseResponseFit' \
                -H 'accept: application/json' \
                -H 'Content-Type: application/json' \
                -d '{
                "data": {
                    "dose": [
                    0.1, 0.5, 1.0, 5.0, 10.0, 50.0, 100.0
                    ],
                    "response": [
                    0.2, 0.5, 0.9, 4.0, 8.0, 9.0, 9.2
                    ],
                    "response_err": [
                    0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.02
                    ]
                },
                "config": {
                    "InitialParams": {
                    "Lower": 0.1,
                    "Upper": 10.0,
                    "IC50": 1.0,
                    "Hill": 1.0
                    },
                    "FixedParams": {
                    "Lower": false,
                    "Upper": false,
                    "IC50": false,
                    "Hill": false
                    },
                    "Bounds": {
                    "Lower": [
                        0, 1
                    ],
                    "Upper": [
                        0, 100
                    ],
                    "IC50": [
                        0, 10
                    ],
                    "Hill": [
                        0, 10
                    ]
                    }
                }
                }'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

signals_fourparamsfit-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page