Metadata-Version: 2.1
Name: signals_fourparamsfit
Version: 0.0.1
Summary: Example package description
Author: signals
License: BSD 3-Clause License
Keywords: example,setuptools
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
Requires-Dist: scikit-learn ==1.5.0
Requires-Dist: scipy ==1.13.1
Requires-Dist: numpy ==2.0.0
Requires-Dist: toml ==0.10.2
Requires-Dist: pydantic ==2.7.4
Requires-Dist: python-dotenv ==1.0.1
Requires-Dist: fastapi ==0.111.0
Requires-Dist: uvicorn ==0.30.1
Requires-Dist: httpx ==0.27.0
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: matplotlib ; extra == 'dev'
Provides-Extra: note
Requires-Dist: jupyter ; extra == 'note'

# 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
                    ]
                    }
                }
                }'

```
