Metadata-Version: 2.4
Name: causalspyne
Version: 0.1.5
Summary: Add your description here
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: causal-learn==0.1.3.8; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: contourpy==1.2.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: cycler==0.12.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: fonttools==4.53.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: importlib-resources==6.4.0; python_full_version == "3.9.*"
Requires-Dist: kiwisolver==1.4.5; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: matplotlib==3.9.0; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: networkx==3.2.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: numpy==1.26.0; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: packaging==24.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: pandas==2.2.2; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: pillow==10.4.0; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: pyparsing==3.1.2; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: python-dateutil==2.9.0.post0; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: pytz==2024.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: scipy==1.13.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: six==1.16.0; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: tzdata==2024.1; python_full_version >= "3.9" and python_full_version < "4"
Requires-Dist: zipp==3.19.2; python_full_version == "3.9.*"

# CausalSpyne
[![PyPI version](https://badge.fury.io/py/causalspyne.svg)](https://badge.fury.io/py/causalspyne)  [![test coverage](https://marrlab.github.io/causalspyne/coverage-badge.svg)](https://marrlab.github.io/causalspyne/)

A Python package for simulating data from confounded causal models.


## Quick start
Install with: `pip install causalspyne`

Generate some data:
```
from causalspyne import gen_partially_observed


gen_partially_observed(size_micro_node_dag=4,
                       num_macro_nodes=4,
                       degree=2,  # average vertex/node degree
                       list_confounder2hide=[0.5, 0.9], # choie of confounder to hide: percentile or index of all toplogically sorted confounders
                       num_sample=200,
                       output_dir="output",
                       rng=0)
```

## Submodules

```
git submodule update --init
```
