Images for use in unit tests etc.
List available datasets:
```python
from pythologist_test_images import TestImages
print(TestImages().datasets)
```
> ['IrisSpatialFeatures', 'Small', 'Tiny']
get a path pointing to the dataset
```python
path = TestImages().raw('IrisSpatialFeatures')
print(path)
```
> '/Source/pythologist-test-images/data/IrisSpatialFeatures/Example'
get a CellDataFrame pythologist object (requires pythologistreader and pythologist `pip install pythologist-test-images[h5]`)
```python
cdf = TestImages().celldataframe('Tiny')
tdf = cdf.threshold('T-CELL','PD1').threshold('OTHER','PDL1').threshold('TUMOR','PDL1')
tdf.loc[tdf['sample_name'].str.contains('I'),'project_name'] = 'SlideModelInfiltrated'
tdf.loc[tdf['sample_name'].str.contains('E'),'project_name'] = 'SlideModelExcluded'
tdf.loc[tdf['sample_name'].str.contains('U'),'project_name'] = 'SlideModelUniform'
tdf['project_id'] = tdf['project_name']
(ggplot(cnts,aes(x='sample_name',y='mean_density_mm2',
ymin='mean_density_mm2+stderr_density_mm2',
ymax='mean_density_mm2-stderr_density_mm2',fill='project_name'))
+ geom_bar(stat='identity')
+ geom_errorbar()
+ facet_wrap('phenotype_label',scales='free_y')
+ theme_bw()
+ theme(panel_spacing_x=0.5)
+ theme(figure_size=(6,6))
)
```

Metadata
Release files for pythologist-test-images 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pythologist_test_images-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pythologist_test_images-1.0.0-py3-none-any.whl |
Release files / pythologist_test_images-1.0.0-py3-none-any.whl
| Download URL | pythologist_test_images-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3c7dc3f7addd73b538a9394c318c0f6c7636e617958422a570f02f3de0205bf
|
|
BLAKE2b-256 checksum How to use checksums |
6603ee1a7617468ac5bbbda785cc7afd729606837f1bc97161b6bbe83ee71422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for pythologist-test-images 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.