semvec/pypi-packages huggingface dataset:
signals-fourparamsfit 0.0.2
Example package description
License: BSD 3-Clause License
Keywords: example, setuptools

# 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