# App fourparamsfit
## Description:
### Run project in local:
In the root dir of this up run
```shell
docker-compose up -d
```
# Example for swager
```shell
{
"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
```shell
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
]
}
}
}'
```
pip install signals-fourparamsfit==0.0.1
Raw data
{
"_id": null,
"home_page": null,
"name": "signals-fourparamsfit",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "example, setuptools",
"author": "signals",
"author_email": null,
"download_url": null,
"platform": null,
"description": "# App fourparamsfit\n\n\n## Description: \n\n\n\n### Run project in local:\n\nIn the root dir of this up run\n\n```shell\ndocker-compose up -d\n\n\n```\n\n\n# Example for swager\n```shell\n{\n \"data\": {\n \"dose\": [\n 0.1, 0.5, 1.0, 5.0, 10.0, 50.0, 100.0\n ],\n \"response\": [\n 0.2, 0.5, 0.9, 4.0, 8.0, 9.0, 9.2\n ],\n \"response_err\": [\n 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.02\n ]\n },\n \"config\": {\n \"InitialParams\": {\n \"Lower\": 0.1,\n \"Upper\": 10.0,\n \"IC50\": 1.0,\n \"Hill\": 1.0\n },\n \"FixedParams\": {\n \"Lower\": false,\n \"Upper\": false,\n \"IC50\": false,\n \"Hill\": false\n },\n \"Bounds\": {\n \"Lower\": [\n 0, 1\n ],\n \"Upper\": [\n 0, 100\n ],\n \"IC50\": [\n 0, 10\n ],\n \"Hill\": [\n 0, 10\n ]\n }\n }\n}\n```\n# API call example\n```shell\ncurl -X 'POST' \\\n 'http://127.0.0.1:8000/FourParamsDoseResponseFit' \\\n -H 'accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -d '{\n \"data\": {\n \"dose\": [\n 0.1, 0.5, 1.0, 5.0, 10.0, 50.0, 100.0\n ],\n \"response\": [\n 0.2, 0.5, 0.9, 4.0, 8.0, 9.0, 9.2\n ],\n \"response_err\": [\n 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.02\n ]\n },\n \"config\": {\n \"InitialParams\": {\n \"Lower\": 0.1,\n \"Upper\": 10.0,\n \"IC50\": 1.0,\n \"Hill\": 1.0\n },\n \"FixedParams\": {\n \"Lower\": false,\n \"Upper\": false,\n \"IC50\": false,\n \"Hill\": false\n },\n \"Bounds\": {\n \"Lower\": [\n 0, 1\n ],\n \"Upper\": [\n 0, 100\n ],\n \"IC50\": [\n 0, 10\n ],\n \"Hill\": [\n 0, 10\n ]\n }\n }\n }'\n\n```\n\n\npip install signals-fourparamsfit==0.0.1\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Example package description",
"version": "0.0.2",
"project_urls": null,
"split_keywords": [
"example",
" setuptools"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "25efb13322600f2c5cbc3778011f7437a69ca64c4dd89300d15affbecf97bdb3",
"md5": "ddd5654f80f4457d6c1958e7929635e8",
"sha256": "f3475f96006c6e672ef5fb0420936eaa413a7f0ed24b52b8112abbedfbd642fc"
},
"downloads": -1,
"filename": "signals_fourparamsfit-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ddd5654f80f4457d6c1958e7929635e8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4671,
"upload_time": "2024-06-21T11:25:28",
"upload_time_iso_8601": "2024-06-21T11:25:28.985208Z",
"url": "https://files.pythonhosted.org/packages/25/ef/b13322600f2c5cbc3778011f7437a69ca64c4dd89300d15affbecf97bdb3/signals_fourparamsfit-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-21 11:25:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "signals-fourparamsfit"
}