dclab 0.63.0__tar.gz → 0.63.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dclab might be problematic. Click here for more details.
- {dclab-0.63.0 → dclab-0.63.1}/CHANGELOG +4 -0
- {dclab-0.63.0 → dclab-0.63.1}/PKG-INFO +1 -1
- {dclab-0.63.0 → dclab-0.63.1}/dclab/_version.py +2 -2
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/api.py +1 -1
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_s3.py +29 -10
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/PKG-INFO +1 -1
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_scatter.rst +33 -15
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_code_reference.rst +7 -11
- {dclab-0.63.0 → dclab-0.63.1}/.gitignore +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/.readthedocs.yml +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/LICENSE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/MANIFEST.in +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/README.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cached.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/common.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_compress.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_condense.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_join.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_repack.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_split.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_tdms2rtdc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/cli/task_verify_dataset.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/feat_const.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/feat_logic.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/meta_const.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/meta_logic.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/definitions/meta_parse.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/downsampling.pyx +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/LICENSE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/LICENSE.APACHE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/LICENSE.BSD +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/_structures.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/packaging/version.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/LICENSE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_find_contours.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_find_contours_cy.pyx +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_pnpoly.pyx +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_shared/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_shared/geometry.pxd +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/_shared/geometry.pyx +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/measure.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/skimage/pnpoly.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/LICENSE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/nonparametric/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/nonparametric/_kernel_base.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/nonparametric/kernel_density.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/external/statsmodels/nonparametric/kernels.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/bright.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/bright_bc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/bright_perc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/contour.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/load.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/lut_HE-2D-FEM-22.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/lut_HE-3D-FEM-22.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/lut_LE-2D-FEM-19.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/pxcorr.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/scale_linear.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/emodulus/viscosity.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/fl_crosstalk.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/inert_ratio.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/features/volume.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/http_utils.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_HE-2D-FEM-22-area_um-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_HE-2D-FEM-22-volume-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_HE-3D-FEM-22-area_um-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_HE-3D-FEM-22-volume-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_LE-2D-FEM-19-area_um-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_LE-2D-FEM-19-volume-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/isoelastics/iso_LE-2D-ana-18-area_um-deform.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde/base.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde/contours.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde/methods.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde_contours.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/kde_methods.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/lme4/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/lme4/lme4_template.R +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/lme4/rsetup.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/lme4/wrapr.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/polygon_filter.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/check.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/config.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/copier.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/core.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/export.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/af_basic.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/af_emodulus.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/af_fl_max_ctc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/af_image_contour.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/af_ml_class.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_core/ancillary_feature.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_ml/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_plugin/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_anc_plugin/plugin_feature.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/feat_temp.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/filter.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/access_token.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/base.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/logs.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dcor/tables.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_dict.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/base.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/events.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/feat_defect.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/logs.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hdf5/tables.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hierarchy/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hierarchy/base.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hierarchy/events.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hierarchy/hfilter.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_hierarchy/mapper.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_http.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/event_contour.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/event_image.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/event_mask.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/event_trace.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/exc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/fmt_tdms/naming.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/load.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/meta_table.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/rtdc_dataset/writer.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/statistics.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/util.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab/warn.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/SOURCES.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/dependency_links.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/entry_points.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/requires.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/dclab.egg-info/top_level.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/.gitignore +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/README.md +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/conf.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example.poly +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example.rtdc +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example_plugin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example_plugin_metadata.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example_traces.rtdc +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/data/example_video.rtdc +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/dclab.bib +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/extensions/dclab_defs.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/extensions/fancy_include.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/extensions/github_changelog.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/extensions/simple_argparse.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/figures/DCOR_API_Token_website.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/index.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dc_logo.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dc_logo.svg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dclab.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dclab.svg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dclab_large_white.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/dclab_large_white.svg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/favicon.ico +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/logo/favicon.svg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/requirements.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_advanced_usage.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_basins/basin_example_workflows.svg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_basins/index.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_dc_io.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_dc_usage.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_dcor.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/.gitignore +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/emodulus_20um_HE-2D-FEM-22.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/emodulus_20um_HE-3D-FEM-22.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/emodulus_20um_LE-2D-FEM-19.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/plot_emodulus_lut.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_emodulus/requirements.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_viscosity/LICENSE +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_viscosity/buyukurganci_22_fig3a.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/figures_viscosity/buyukurganci_22_fig3a.pdf +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_emodulus/index.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_feat_plugin.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_feat_temp.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_fluorescence.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_lme4.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_notation.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_av_s3.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_changelog.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_cli.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_examples.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_getting_started.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/docs/sec_z_bib.rst +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/emodulus_dcor.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/emodulus_dcor.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/generate_example_images.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/isoelastics.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/isoelastics.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/isoelastics_custom.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/isoelastics_custom.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/lme4_glmer_diff.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/lme4_lmer.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/lme4_lmer.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/overview_plot.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/overview_plot.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/plugin_example.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/plugin_usage.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/plugin_usage.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/viscosity_models.jpg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/examples/viscosity_models.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/pyproject.toml +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/.gitignore +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/README.md +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/fem2iso_volume.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/fem2lutiso_std.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/fem2rtdc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/LUT_analytical_linear-elastic_2Daxis.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/README.md +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/__init__.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/common.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/he_2d_fem_22.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/he_3d_fem_22.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/hooks/le_2d_fem_19.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/lut_recipes/lut_processor.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/pixelation_correction.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/pixelation_correction_2020.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/pixelation_correction_2022.png +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/scripts/requirements.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/setup.cfg +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/setup.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/README.md +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/conftest.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/README.md +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/example_access_token.dcor-access +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/example_isoelastics.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/feat_anc_plugin_creative.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_fl-no-contour_2019.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_fl_2017.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_fl_2018.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_fl_wide-channel_2023.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_image-bg_2020.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_image-mask-blood_2021.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_mask-contour_2018.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_polygon_gate_2021.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_raw-cytoshot-exported.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_segfault-compound_2023.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-hdf5_wide-channel_2023.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_2fl-no-image_2017.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_fl-image-bright_2017.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_fl-image-large-fov_2017.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_fl-image_2016.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_fl_2015.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_minimal_2016.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/data/fmt-tdms_shapein-2.0.1-no-image_2017.zip +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/helper_methods.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/requirements.txt +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cache.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_argparse.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_compress.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_condense.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_join.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_repack.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_cli_split.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_config_value_mapping.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_dfn.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_downsampling.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_bright.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_bright_bc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_bright_perc.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_contour.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_emodulus.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_emodulus_viscosity.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_fl_crosstalk.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_inert_ratio.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_feat_volume.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_http_utils.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_isoelastics.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_kde_contours.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_kde_deprecations.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_kde_methods.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_lme4.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_lut_he_2d_fem_22.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_lut_he_3d_fem_22.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_polygon_contains.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_polygon_filter.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_check_dataset.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_config.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_copier.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_core_feat.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_downsampling.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_export.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_export_avi.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_export_fcs.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_export_hdf5.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_export_tsv.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_anc_core.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_anc_ml.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_anc_plugin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_basin_mapped.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_feat_temp.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_filter.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_dcor.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_dcor_access_token.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_dcor_basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_dict.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_hdf5.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_hdf5_basins.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_hdf5_basins_internal.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_hierarchy.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_http.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_http_basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_s3.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_s3_basin.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_fmt_tdms.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_hash.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_kde.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_limit_events.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_rtdc_writer.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_statistics.py +0 -0
- {dclab-0.63.0 → dclab-0.63.1}/tests/test_util.py +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
0.63.1
|
|
2
|
+
- docs: update documentation and code references for kde submodule
|
|
3
|
+
- enh: cache S3 sessions and clients (test suite duration reduced by 30%)
|
|
4
|
+
- enh: cache "basins" response for DCOR format
|
|
1
5
|
0.63.0
|
|
2
6
|
- feat: add `progress_callback` argument to all data export methods (#271)
|
|
3
7
|
0.62.17
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dclab
|
|
3
|
-
Version: 0.63.
|
|
3
|
+
Version: 0.63.1
|
|
4
4
|
Summary: Library for real-time deformability cytometry (RT-DC)
|
|
5
5
|
Author: Benedikt Hartmann, Eoghan O'Connell, Maik Herbig, Maximilian Schlögel, Nadia Sbaa, Paul Müller, Philipp Rosendahl, Raghava Alajangi
|
|
6
6
|
Maintainer-email: Paul Müller <dev@craban.de>
|
|
@@ -12,7 +12,7 @@ class DCORAccessError(BaseException):
|
|
|
12
12
|
class APIHandler:
|
|
13
13
|
"""Handles the DCOR api with caching for simple queries"""
|
|
14
14
|
#: these are cached to minimize network usage
|
|
15
|
-
cache_queries = ["metadata", "size", "feature_list", "valid"]
|
|
15
|
+
cache_queries = ["basins", "metadata", "size", "feature_list", "valid"]
|
|
16
16
|
#: DCOR API Keys/Tokens in the current session
|
|
17
17
|
api_keys = []
|
|
18
18
|
|
|
@@ -42,6 +42,27 @@ S3_ACCESS_KEY_ID = os.environ.get("DCLAB_S3_ACCESS_KEY_ID")
|
|
|
42
42
|
S3_SECRET_ACCESS_KEY = os.environ.get("DCLAB_S3_SECRET_ACCESS_KEY")
|
|
43
43
|
|
|
44
44
|
|
|
45
|
+
@functools.lru_cache(maxsize=1000)
|
|
46
|
+
def get_s3_session_client(access_key_id: str,
|
|
47
|
+
secret_access_key: str,
|
|
48
|
+
use_ssl: bool,
|
|
49
|
+
verify_ssl: bool,
|
|
50
|
+
endpoint_url: str
|
|
51
|
+
):
|
|
52
|
+
botocore_session = botocore.session.get_session()
|
|
53
|
+
s3_session = boto3.Session(
|
|
54
|
+
aws_access_key_id=access_key_id,
|
|
55
|
+
aws_secret_access_key=secret_access_key,
|
|
56
|
+
botocore_session=botocore_session)
|
|
57
|
+
s3_client = s3_session.client(
|
|
58
|
+
service_name='s3',
|
|
59
|
+
use_ssl=use_ssl,
|
|
60
|
+
verify=verify_ssl,
|
|
61
|
+
endpoint_url=endpoint_url,
|
|
62
|
+
)
|
|
63
|
+
return botocore_session, s3_session, s3_client
|
|
64
|
+
|
|
65
|
+
|
|
45
66
|
class S3File(HTTPFile):
|
|
46
67
|
"""Monkeypatched `HTTPFile` to support authenticated access to S3"""
|
|
47
68
|
def __init__(self,
|
|
@@ -74,17 +95,15 @@ class S3File(HTTPFile):
|
|
|
74
95
|
"not specify the full S3 URL or that you forgot to set "
|
|
75
96
|
"the `S3_ENDPOINT_URL` environment variable.")
|
|
76
97
|
endpoint_url = endpoint_url.strip().rstrip("/")
|
|
77
|
-
self.botocore_session =
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
use_ssl=use_ssl,
|
|
85
|
-
verify=verify_ssl,
|
|
86
|
-
endpoint_url=endpoint_url,
|
|
98
|
+
self.botocore_session, self.s3_session, self.s3_client = \
|
|
99
|
+
get_s3_session_client(
|
|
100
|
+
access_key_id=access_key_id,
|
|
101
|
+
secret_access_key=secret_access_key,
|
|
102
|
+
use_ssl=use_ssl,
|
|
103
|
+
verify_ssl=verify_ssl,
|
|
104
|
+
endpoint_url=endpoint_url,
|
|
87
105
|
)
|
|
106
|
+
|
|
88
107
|
# Use a configuration that allows anonymous access
|
|
89
108
|
# https://stackoverflow.com/a/34866092
|
|
90
109
|
if not secret_access_key:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dclab
|
|
3
|
-
Version: 0.63.
|
|
3
|
+
Version: 0.63.1
|
|
4
4
|
Summary: Library for real-time deformability cytometry (RT-DC)
|
|
5
5
|
Author: Benedikt Hartmann, Eoghan O'Connell, Maik Herbig, Maximilian Schlögel, Nadia Sbaa, Paul Müller, Philipp Rosendahl, Raghava Alajangi
|
|
6
6
|
Maintainer-email: Paul Müller <dev@craban.de>
|
|
@@ -5,24 +5,28 @@ Scatter plots
|
|
|
5
5
|
=============
|
|
6
6
|
|
|
7
7
|
For data visualization, dclab comes with predefined
|
|
8
|
-
:ref:`kernel density estimators (KDEs) <
|
|
8
|
+
:ref:`kernel density estimators (KDEs) <sec_ref_kde>` and
|
|
9
9
|
an :ref:`event downsampling <sec_ref_downsampling>` module.
|
|
10
10
|
The functionalities of both modules are made available directly via the
|
|
11
|
-
:class:`
|
|
11
|
+
:py:class:`dclab.kde.KernelDensityEstimator` class.
|
|
12
12
|
|
|
13
13
|
KDE scatter plot
|
|
14
14
|
----------------
|
|
15
15
|
The KDE of the events in a 2D scatter plot can be used to
|
|
16
16
|
colorize events according to event density using the
|
|
17
|
-
:
|
|
17
|
+
:py:meth:`~dclab.kde.KernelDensityEstimator.get_scatter`
|
|
18
18
|
function.
|
|
19
19
|
|
|
20
20
|
.. plot::
|
|
21
21
|
|
|
22
22
|
import matplotlib.pylab as plt
|
|
23
23
|
import dclab
|
|
24
|
+
from dclab.kde import KernelDensityEstimator
|
|
25
|
+
# load the example dataset
|
|
24
26
|
ds = dclab.new_dataset("data/example.rtdc")
|
|
25
|
-
|
|
27
|
+
# create a kernel density estimator
|
|
28
|
+
kde_instance = KernelDensityEstimator(ds)
|
|
29
|
+
kde = kde_instance.get_scatter(xax="area_um", yax="deform")
|
|
26
30
|
|
|
27
31
|
ax = plt.subplot(111, title="scatter plot with {} events".format(len(kde)))
|
|
28
32
|
sc = ax.scatter(ds["area_um"], ds["deform"], c=kde, marker=".")
|
|
@@ -65,8 +69,8 @@ Frequently, data is visualized on logarithmic scales. If the KDE
|
|
|
65
69
|
is computed on a linear scale, then the result will look unaesthetic
|
|
66
70
|
when plotted on a logarithmic scale. Therefore, the methods
|
|
67
71
|
:func:`get_downsampled_scatter <dclab.rtdc_dataset.RTDCBase.get_downsampled_scatter>`,
|
|
68
|
-
:
|
|
69
|
-
:
|
|
72
|
+
:py:meth:`~dclab.kde.KernelDensityEstimator.get_contour`, and
|
|
73
|
+
:py:meth:`~dclab.kde.KernelDensityEstimator.get_scatter`
|
|
70
74
|
offer the keyword arguments ``xscale`` and ``yscale`` which can be set to
|
|
71
75
|
"log" for prettier plots.
|
|
72
76
|
|
|
@@ -74,9 +78,13 @@ offer the keyword arguments ``xscale`` and ``yscale`` which can be set to
|
|
|
74
78
|
|
|
75
79
|
import matplotlib.pylab as plt
|
|
76
80
|
import dclab
|
|
81
|
+
from dclab.kde import KernelDensityEstimator
|
|
82
|
+
# load the example dataset
|
|
77
83
|
ds = dclab.new_dataset("data/example.rtdc")
|
|
78
|
-
|
|
79
|
-
|
|
84
|
+
# create a kernel density estimator
|
|
85
|
+
kde_instance = KernelDensityEstimator(ds)
|
|
86
|
+
kde_lin = kde_instance.get_scatter(xax="area_um", yax="deform", yscale="linear")
|
|
87
|
+
kde_log = kde_instance.get_scatter(xax="area_um", yax="deform", yscale="log")
|
|
80
88
|
|
|
81
89
|
ax1 = plt.subplot(121, title="KDE with linear y-scale")
|
|
82
90
|
sc1 = ax1.scatter(ds["area_um"], ds["deform"], c=kde_lin, marker=".")
|
|
@@ -105,8 +113,11 @@ Isoelasticity lines are available via the
|
|
|
105
113
|
|
|
106
114
|
import matplotlib.pylab as plt
|
|
107
115
|
import dclab
|
|
116
|
+
from dclab.kde import KernelDensityEstimator
|
|
117
|
+
# load the example dataset
|
|
108
118
|
ds = dclab.new_dataset("data/example.rtdc")
|
|
109
|
-
|
|
119
|
+
kde_instance = KernelDensityEstimator(ds)
|
|
120
|
+
kde = kde_instance.get_scatter(xax="area_um", yax="deform")
|
|
110
121
|
|
|
111
122
|
isodef = dclab.isoelastics.get_default()
|
|
112
123
|
iso = isodef.get_with_rtdcbase(method="numerical",
|
|
@@ -131,20 +142,23 @@ Contour plot with percentiles
|
|
|
131
142
|
Contour plots are commonly used to compare the kernel density
|
|
132
143
|
between measurements. Kernel density estimates (on a grid) for contour
|
|
133
144
|
plots can be computed with the function
|
|
134
|
-
:
|
|
145
|
+
:py:meth:`~dclab.kde.KernelDensityEstimator.get_contour`.
|
|
135
146
|
In addition, it is possible to compute contours at data
|
|
136
147
|
`percentiles <https://en.wikipedia.org/wiki/Percentile>`_
|
|
137
|
-
using :func
|
|
148
|
+
using :func:`~dclab.kde.contours.get_quantile_levels`.
|
|
138
149
|
|
|
139
150
|
.. plot::
|
|
140
151
|
|
|
141
152
|
import matplotlib.pylab as plt
|
|
142
153
|
import dclab
|
|
154
|
+
from dclab.kde import KernelDensityEstimator
|
|
155
|
+
# load the example dataset
|
|
143
156
|
ds = dclab.new_dataset("data/example.rtdc")
|
|
144
|
-
|
|
157
|
+
kde_instance = KernelDensityEstimator(ds)
|
|
158
|
+
X, Y, Z = kde_instance.get_contour(xax="area_um", yax="deform")
|
|
145
159
|
Z /= Z.max()
|
|
146
160
|
quantiles = [.1, .5, .75]
|
|
147
|
-
levels = dclab.
|
|
161
|
+
levels = dclab.kde.contours.get_quantile_levels(density=Z,
|
|
148
162
|
x=X,
|
|
149
163
|
y=Y,
|
|
150
164
|
xp=ds["area_um"],
|
|
@@ -173,7 +187,7 @@ using :func:`dclab.kde_contours.get_quantile_levels`.
|
|
|
173
187
|
plt.show()
|
|
174
188
|
|
|
175
189
|
Note that you may compute (and plot) the contour lines directly
|
|
176
|
-
yourself using the function :func
|
|
190
|
+
yourself using the function :func:`~dclab.kde.contours.find_contours_level`.
|
|
177
191
|
|
|
178
192
|
|
|
179
193
|
|
|
@@ -189,8 +203,12 @@ in Shape-Out and then import them in dclab.
|
|
|
189
203
|
|
|
190
204
|
import matplotlib.pylab as plt
|
|
191
205
|
import dclab
|
|
206
|
+
from dclab.kde import KernelDensityEstimator
|
|
207
|
+
# load the example dataset
|
|
192
208
|
ds = dclab.new_dataset("data/example.rtdc")
|
|
193
|
-
|
|
209
|
+
kde_instance = KernelDensityEstimator(ds)
|
|
210
|
+
kde = kde_instance.get_scatter(xax="area_um", yax="deform")
|
|
211
|
+
|
|
194
212
|
# load and apply polygon filter from file
|
|
195
213
|
pf = dclab.PolygonFilter(filename="data/example.poly")
|
|
196
214
|
ds.polygon_filter_add(pf)
|
|
@@ -302,22 +302,18 @@ isoelastics
|
|
|
302
302
|
|
|
303
303
|
|
|
304
304
|
|
|
305
|
-
..
|
|
305
|
+
.. _sec_ref_kde:
|
|
306
306
|
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
kernel density estimators (KDEs)
|
|
308
|
+
-------------------------------
|
|
309
|
+
.. autoclass:: dclab.kde.KernelDensityEstimator
|
|
310
|
+
:members:
|
|
309
311
|
|
|
310
|
-
.. automodule:: dclab.
|
|
312
|
+
.. automodule:: dclab.kde.methods
|
|
311
313
|
:members:
|
|
312
314
|
:undoc-members:
|
|
313
315
|
|
|
314
|
-
|
|
315
|
-
.. _sec_ref_kde_methods:
|
|
316
|
-
|
|
317
|
-
kde_methods
|
|
318
|
-
-----------
|
|
319
|
-
|
|
320
|
-
.. automodule:: dclab.kde_methods
|
|
316
|
+
.. automodule:: dclab.kde.contours
|
|
321
317
|
:members:
|
|
322
318
|
:undoc-members:
|
|
323
319
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|