wotann 0.5.80 → 0.5.83
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.
- package/dist/orchestration/architect-editor.js +8 -0
- package/package.json +1 -1
- package/skills/scientific/LICENSE.md +21 -0
- package/skills/scientific/adaptyv/SKILL.md +211 -0
- package/skills/scientific/adaptyv/references/api-endpoints.md +690 -0
- package/skills/scientific/aeon/SKILL.md +372 -0
- package/skills/scientific/aeon/references/anomaly_detection.md +154 -0
- package/skills/scientific/aeon/references/classification.md +144 -0
- package/skills/scientific/aeon/references/clustering.md +123 -0
- package/skills/scientific/aeon/references/datasets_benchmarking.md +387 -0
- package/skills/scientific/aeon/references/distances.md +256 -0
- package/skills/scientific/aeon/references/forecasting.md +140 -0
- package/skills/scientific/aeon/references/networks.md +289 -0
- package/skills/scientific/aeon/references/regression.md +118 -0
- package/skills/scientific/aeon/references/segmentation.md +163 -0
- package/skills/scientific/aeon/references/similarity_search.md +187 -0
- package/skills/scientific/aeon/references/transformations.md +246 -0
- package/skills/scientific/anndata/SKILL.md +398 -0
- package/skills/scientific/anndata/references/best_practices.md +525 -0
- package/skills/scientific/anndata/references/concatenation.md +396 -0
- package/skills/scientific/anndata/references/data_structure.md +314 -0
- package/skills/scientific/anndata/references/io_operations.md +404 -0
- package/skills/scientific/anndata/references/manipulation.md +516 -0
- package/skills/scientific/arboreto/SKILL.md +241 -0
- package/skills/scientific/arboreto/references/algorithms.md +138 -0
- package/skills/scientific/arboreto/references/basic_inference.md +151 -0
- package/skills/scientific/arboreto/references/distributed_computing.md +242 -0
- package/skills/scientific/arboreto/scripts/basic_grn_inference.py +97 -0
- package/skills/scientific/astropy/SKILL.md +329 -0
- package/skills/scientific/astropy/references/coordinates.md +273 -0
- package/skills/scientific/astropy/references/cosmology.md +307 -0
- package/skills/scientific/astropy/references/fits.md +396 -0
- package/skills/scientific/astropy/references/tables.md +489 -0
- package/skills/scientific/astropy/references/time.md +404 -0
- package/skills/scientific/astropy/references/units.md +178 -0
- package/skills/scientific/astropy/references/wcs_and_other_modules.md +373 -0
- package/skills/scientific/autoskill/SKILL.md +219 -0
- package/skills/scientific/autoskill/config.yaml +53 -0
- package/skills/scientific/autoskill/references/https-proxy.md +62 -0
- package/skills/scientific/autoskill/references/screenpipe-config.yaml +61 -0
- package/skills/scientific/autoskill/scripts/autoskill.py +35 -0
- package/skills/scientific/autoskill/scripts/backends.py +71 -0
- package/skills/scientific/autoskill/scripts/cluster.py +54 -0
- package/skills/scientific/autoskill/scripts/doctor.py +108 -0
- package/skills/scientific/autoskill/scripts/fetch_window.py +33 -0
- package/skills/scientific/autoskill/scripts/match_skills.py +46 -0
- package/skills/scientific/autoskill/scripts/promote.py +58 -0
- package/skills/scientific/autoskill/scripts/redact.py +40 -0
- package/skills/scientific/autoskill/scripts/run.py +194 -0
- package/skills/scientific/autoskill/scripts/synthesize.py +72 -0
- package/skills/scientific/autoskill/tests/conftest.py +4 -0
- package/skills/scientific/autoskill/tests/smoke_lmstudio.py +60 -0
- package/skills/scientific/autoskill/tests/test_backends.py +121 -0
- package/skills/scientific/autoskill/tests/test_cli.py +61 -0
- package/skills/scientific/autoskill/tests/test_cluster.py +67 -0
- package/skills/scientific/autoskill/tests/test_doctor.py +108 -0
- package/skills/scientific/autoskill/tests/test_e2e.py +327 -0
- package/skills/scientific/autoskill/tests/test_fetch_window.py +111 -0
- package/skills/scientific/autoskill/tests/test_match_skills.py +75 -0
- package/skills/scientific/autoskill/tests/test_promote.py +108 -0
- package/skills/scientific/autoskill/tests/test_redact.py +130 -0
- package/skills/scientific/autoskill/tests/test_run.py +229 -0
- package/skills/scientific/autoskill/tests/test_synthesize.py +96 -0
- package/skills/scientific/benchling-integration/SKILL.md +478 -0
- package/skills/scientific/benchling-integration/references/api_endpoints.md +883 -0
- package/skills/scientific/benchling-integration/references/authentication.md +379 -0
- package/skills/scientific/benchling-integration/references/sdk_reference.md +774 -0
- package/skills/scientific/bgpt-paper-search/SKILL.md +74 -0
- package/skills/scientific/bids/SKILL.md +756 -0
- package/skills/scientific/bids/references/beps.yml +637 -0
- package/skills/scientific/bids/references/bids_schema.json +21015 -0
- package/skills/scientific/bids/references/bids_specification.md +165 -0
- package/skills/scientific/bids/references/conversion_tools.md +475 -0
- package/skills/scientific/bids/references/metadata_fields.md +365 -0
- package/skills/scientific/bids/scripts/update_schema.py +89 -0
- package/skills/scientific/biopython/SKILL.md +441 -0
- package/skills/scientific/biopython/references/advanced.md +577 -0
- package/skills/scientific/biopython/references/alignment.md +362 -0
- package/skills/scientific/biopython/references/blast.md +455 -0
- package/skills/scientific/biopython/references/databases.md +484 -0
- package/skills/scientific/biopython/references/phylogenetics.md +566 -0
- package/skills/scientific/biopython/references/sequence_io.md +285 -0
- package/skills/scientific/biopython/references/structure.md +564 -0
- package/skills/scientific/bioservices/SKILL.md +359 -0
- package/skills/scientific/bioservices/references/identifier_mapping.md +685 -0
- package/skills/scientific/bioservices/references/services_reference.md +636 -0
- package/skills/scientific/bioservices/references/workflow_patterns.md +811 -0
- package/skills/scientific/bioservices/scripts/batch_id_converter.py +347 -0
- package/skills/scientific/bioservices/scripts/compound_cross_reference.py +378 -0
- package/skills/scientific/bioservices/scripts/pathway_analysis.py +309 -0
- package/skills/scientific/bioservices/scripts/protein_analysis_workflow.py +408 -0
- package/skills/scientific/cellxgene-census/SKILL.md +509 -0
- package/skills/scientific/cellxgene-census/references/census_schema.md +182 -0
- package/skills/scientific/cellxgene-census/references/common_patterns.md +351 -0
- package/skills/scientific/cirq/SKILL.md +344 -0
- package/skills/scientific/cirq/references/building.md +307 -0
- package/skills/scientific/cirq/references/experiments.md +572 -0
- package/skills/scientific/cirq/references/hardware.md +515 -0
- package/skills/scientific/cirq/references/noise.md +515 -0
- package/skills/scientific/cirq/references/simulation.md +350 -0
- package/skills/scientific/cirq/references/transformation.md +416 -0
- package/skills/scientific/citation-management/SKILL.md +1 -1
- package/skills/scientific/clinical-decision-support/SKILL.md +509 -0
- package/skills/scientific/clinical-decision-support/assets/biomarker_report_template.tex +380 -0
- package/skills/scientific/clinical-decision-support/assets/clinical_pathway_template.tex +222 -0
- package/skills/scientific/clinical-decision-support/assets/cohort_analysis_template.tex +359 -0
- package/skills/scientific/clinical-decision-support/assets/color_schemes.tex +149 -0
- package/skills/scientific/clinical-decision-support/assets/example_gbm_cohort.md +208 -0
- package/skills/scientific/clinical-decision-support/assets/recommendation_strength_guide.md +328 -0
- package/skills/scientific/clinical-decision-support/assets/treatment_recommendation_template.tex +529 -0
- package/skills/scientific/clinical-decision-support/references/README.md +129 -0
- package/skills/scientific/clinical-decision-support/references/biomarker_classification.md +719 -0
- package/skills/scientific/clinical-decision-support/references/clinical_decision_algorithms.md +604 -0
- package/skills/scientific/clinical-decision-support/references/evidence_synthesis.md +840 -0
- package/skills/scientific/clinical-decision-support/references/outcome_analysis.md +640 -0
- package/skills/scientific/clinical-decision-support/references/patient_cohort_analysis.md +427 -0
- package/skills/scientific/clinical-decision-support/references/treatment_recommendations.md +521 -0
- package/skills/scientific/clinical-decision-support/scripts/biomarker_classifier.py +384 -0
- package/skills/scientific/clinical-decision-support/scripts/build_decision_tree.py +447 -0
- package/skills/scientific/clinical-decision-support/scripts/create_cohort_tables.py +524 -0
- package/skills/scientific/clinical-decision-support/scripts/generate_schematic.py +139 -0
- package/skills/scientific/clinical-decision-support/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/clinical-decision-support/scripts/generate_survival_analysis.py +422 -0
- package/skills/scientific/clinical-decision-support/scripts/validate_cds_document.py +335 -0
- package/skills/scientific/clinical-reports/SKILL.md +1131 -0
- package/skills/scientific/clinical-reports/assets/case_report_template.md +352 -0
- package/skills/scientific/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
- package/skills/scientific/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
- package/skills/scientific/clinical-reports/assets/consult_note_template.md +305 -0
- package/skills/scientific/clinical-reports/assets/discharge_summary_template.md +453 -0
- package/skills/scientific/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
- package/skills/scientific/clinical-reports/assets/history_physical_template.md +305 -0
- package/skills/scientific/clinical-reports/assets/lab_report_template.md +309 -0
- package/skills/scientific/clinical-reports/assets/pathology_report_template.md +249 -0
- package/skills/scientific/clinical-reports/assets/quality_checklist.md +338 -0
- package/skills/scientific/clinical-reports/assets/radiology_report_template.md +318 -0
- package/skills/scientific/clinical-reports/assets/soap_note_template.md +253 -0
- package/skills/scientific/clinical-reports/references/README.md +236 -0
- package/skills/scientific/clinical-reports/references/case_report_guidelines.md +570 -0
- package/skills/scientific/clinical-reports/references/clinical_trial_reporting.md +693 -0
- package/skills/scientific/clinical-reports/references/data_presentation.md +530 -0
- package/skills/scientific/clinical-reports/references/diagnostic_reports_standards.md +629 -0
- package/skills/scientific/clinical-reports/references/medical_terminology.md +588 -0
- package/skills/scientific/clinical-reports/references/patient_documentation.md +744 -0
- package/skills/scientific/clinical-reports/references/peer_review_standards.md +585 -0
- package/skills/scientific/clinical-reports/references/regulatory_compliance.md +577 -0
- package/skills/scientific/clinical-reports/scripts/check_deidentification.py +346 -0
- package/skills/scientific/clinical-reports/scripts/compliance_checker.py +78 -0
- package/skills/scientific/clinical-reports/scripts/extract_clinical_data.py +102 -0
- package/skills/scientific/clinical-reports/scripts/format_adverse_events.py +103 -0
- package/skills/scientific/clinical-reports/scripts/generate_report_template.py +163 -0
- package/skills/scientific/clinical-reports/scripts/generate_schematic.py +139 -0
- package/skills/scientific/clinical-reports/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/clinical-reports/scripts/terminology_validator.py +133 -0
- package/skills/scientific/clinical-reports/scripts/validate_case_report.py +334 -0
- package/skills/scientific/clinical-reports/scripts/validate_trial_report.py +89 -0
- package/skills/scientific/cobrapy/SKILL.md +461 -0
- package/skills/scientific/cobrapy/references/api_quick_reference.md +655 -0
- package/skills/scientific/cobrapy/references/workflows.md +593 -0
- package/skills/scientific/consciousness-council/SKILL.md +150 -0
- package/skills/scientific/consciousness-council/references/advanced-configurations.md +96 -0
- package/skills/scientific/dask/SKILL.md +454 -0
- package/skills/scientific/dask/references/arrays.md +497 -0
- package/skills/scientific/dask/references/bags.md +468 -0
- package/skills/scientific/dask/references/best-practices.md +277 -0
- package/skills/scientific/dask/references/dataframes.md +368 -0
- package/skills/scientific/dask/references/futures.md +541 -0
- package/skills/scientific/dask/references/schedulers.md +504 -0
- package/skills/scientific/database-lookup/SKILL.md +1 -1
- package/skills/scientific/database-lookup/references/simbad.md +303 -29
- package/skills/scientific/datamol/SKILL.md +704 -0
- package/skills/scientific/datamol/references/conformers_module.md +131 -0
- package/skills/scientific/datamol/references/core_api.md +130 -0
- package/skills/scientific/datamol/references/descriptors_viz.md +195 -0
- package/skills/scientific/datamol/references/fragments_scaffolds.md +174 -0
- package/skills/scientific/datamol/references/io_module.md +109 -0
- package/skills/scientific/datamol/references/reactions_data.md +218 -0
- package/skills/scientific/deepchem/SKILL.md +595 -0
- package/skills/scientific/deepchem/references/api_reference.md +303 -0
- package/skills/scientific/deepchem/references/workflows.md +491 -0
- package/skills/scientific/deepchem/scripts/graph_neural_network.py +338 -0
- package/skills/scientific/deepchem/scripts/predict_solubility.py +224 -0
- package/skills/scientific/deepchem/scripts/transfer_learning.py +375 -0
- package/skills/scientific/deeptools/SKILL.md +529 -0
- package/skills/scientific/deeptools/assets/quick_reference.md +58 -0
- package/skills/scientific/deeptools/references/effective_genome_sizes.md +116 -0
- package/skills/scientific/deeptools/references/normalization_methods.md +410 -0
- package/skills/scientific/deeptools/references/tools_reference.md +533 -0
- package/skills/scientific/deeptools/references/workflows.md +474 -0
- package/skills/scientific/deeptools/scripts/validate_files.py +195 -0
- package/skills/scientific/deeptools/scripts/workflow_generator.py +454 -0
- package/skills/scientific/depmap/SKILL.md +300 -0
- package/skills/scientific/depmap/references/dependency_analysis.md +178 -0
- package/skills/scientific/dhdna-profiler/SKILL.md +162 -0
- package/skills/scientific/dhdna-profiler/references/advanced-profiling.md +72 -0
- package/skills/scientific/diffdock/SKILL.md +481 -0
- package/skills/scientific/diffdock/assets/batch_template.csv +4 -0
- package/skills/scientific/diffdock/assets/custom_inference_config.yaml +90 -0
- package/skills/scientific/diffdock/references/confidence_and_limitations.md +182 -0
- package/skills/scientific/diffdock/references/parameters_reference.md +163 -0
- package/skills/scientific/diffdock/references/workflows_examples.md +392 -0
- package/skills/scientific/diffdock/scripts/analyze_results.py +334 -0
- package/skills/scientific/diffdock/scripts/prepare_batch_csv.py +254 -0
- package/skills/scientific/diffdock/scripts/setup_check.py +278 -0
- package/skills/scientific/dnanexus-integration/SKILL.md +381 -0
- package/skills/scientific/dnanexus-integration/references/app-development.md +247 -0
- package/skills/scientific/dnanexus-integration/references/configuration.md +646 -0
- package/skills/scientific/dnanexus-integration/references/data-operations.md +400 -0
- package/skills/scientific/dnanexus-integration/references/job-execution.md +412 -0
- package/skills/scientific/dnanexus-integration/references/python-sdk.md +523 -0
- package/skills/scientific/docx/LICENSE.txt +30 -0
- package/skills/scientific/docx/SKILL.md +590 -0
- package/skills/scientific/docx/scripts/__init__.py +1 -0
- package/skills/scientific/docx/scripts/accept_changes.py +135 -0
- package/skills/scientific/docx/scripts/comment.py +318 -0
- package/skills/scientific/docx/scripts/office/helpers/__init__.py +0 -0
- package/skills/scientific/docx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills/scientific/docx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills/scientific/docx/scripts/office/pack.py +159 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/scientific/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/scientific/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/scientific/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/scientific/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/scientific/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/scientific/docx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/scientific/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/scientific/docx/scripts/office/soffice.py +183 -0
- package/skills/scientific/docx/scripts/office/unpack.py +132 -0
- package/skills/scientific/docx/scripts/office/validate.py +111 -0
- package/skills/scientific/docx/scripts/office/validators/__init__.py +15 -0
- package/skills/scientific/docx/scripts/office/validators/base.py +847 -0
- package/skills/scientific/docx/scripts/office/validators/docx.py +446 -0
- package/skills/scientific/docx/scripts/office/validators/pptx.py +275 -0
- package/skills/scientific/docx/scripts/office/validators/redlining.py +247 -0
- package/skills/scientific/docx/scripts/templates/comments.xml +3 -0
- package/skills/scientific/docx/scripts/templates/commentsExtended.xml +3 -0
- package/skills/scientific/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/skills/scientific/docx/scripts/templates/commentsIds.xml +3 -0
- package/skills/scientific/docx/scripts/templates/people.xml +3 -0
- package/skills/scientific/esm/SKILL.md +304 -0
- package/skills/scientific/esm/references/esm-c-api.md +583 -0
- package/skills/scientific/esm/references/esm3-api.md +452 -0
- package/skills/scientific/esm/references/forge-api.md +657 -0
- package/skills/scientific/esm/references/workflows.md +685 -0
- package/skills/scientific/etetoolkit/SKILL.md +621 -0
- package/skills/scientific/etetoolkit/references/api_reference.md +583 -0
- package/skills/scientific/etetoolkit/references/visualization.md +783 -0
- package/skills/scientific/etetoolkit/references/workflows.md +774 -0
- package/skills/scientific/etetoolkit/scripts/quick_visualize.py +214 -0
- package/skills/scientific/etetoolkit/scripts/tree_operations.py +229 -0
- package/skills/scientific/exa-search/SKILL.md +95 -0
- package/skills/scientific/exa-search/references/web-extract.md +53 -0
- package/skills/scientific/exa-search/references/web-search.md +119 -0
- package/skills/scientific/exa-search/scripts/exa_extract.py +117 -0
- package/skills/scientific/exa-search/scripts/exa_search.py +179 -0
- package/skills/scientific/exa-search/tests/test_exa_search.py +217 -0
- package/skills/scientific/exploratory-data-analysis/SKILL.md +444 -0
- package/skills/scientific/exploratory-data-analysis/assets/report_template.md +196 -0
- package/skills/scientific/exploratory-data-analysis/references/bioinformatics_genomics_formats.md +664 -0
- package/skills/scientific/exploratory-data-analysis/references/chemistry_molecular_formats.md +664 -0
- package/skills/scientific/exploratory-data-analysis/references/general_scientific_formats.md +518 -0
- package/skills/scientific/exploratory-data-analysis/references/microscopy_imaging_formats.md +620 -0
- package/skills/scientific/exploratory-data-analysis/references/proteomics_metabolomics_formats.md +517 -0
- package/skills/scientific/exploratory-data-analysis/references/spectroscopy_analytical_formats.md +633 -0
- package/skills/scientific/exploratory-data-analysis/scripts/eda_analyzer.py +547 -0
- package/skills/scientific/flowio/SKILL.md +606 -0
- package/skills/scientific/flowio/references/api_reference.md +372 -0
- package/skills/scientific/fluidsim/SKILL.md +347 -0
- package/skills/scientific/fluidsim/references/advanced_features.md +398 -0
- package/skills/scientific/fluidsim/references/installation.md +68 -0
- package/skills/scientific/fluidsim/references/output_analysis.md +283 -0
- package/skills/scientific/fluidsim/references/parameters.md +198 -0
- package/skills/scientific/fluidsim/references/simulation_workflow.md +172 -0
- package/skills/scientific/fluidsim/references/solvers.md +94 -0
- package/skills/scientific/generate-image/SKILL.md +183 -0
- package/skills/scientific/generate-image/scripts/generate_image.py +281 -0
- package/skills/scientific/geniml/SKILL.md +316 -0
- package/skills/scientific/geniml/references/bedspace.md +127 -0
- package/skills/scientific/geniml/references/consensus_peaks.md +238 -0
- package/skills/scientific/geniml/references/region2vec.md +90 -0
- package/skills/scientific/geniml/references/scembed.md +197 -0
- package/skills/scientific/geniml/references/utilities.md +385 -0
- package/skills/scientific/geomaster/README.md +105 -0
- package/skills/scientific/geomaster/SKILL.md +365 -0
- package/skills/scientific/geomaster/references/advanced-gis.md +376 -0
- package/skills/scientific/geomaster/references/big-data.md +363 -0
- package/skills/scientific/geomaster/references/code-examples.md +531 -0
- package/skills/scientific/geomaster/references/coordinate-systems.md +364 -0
- package/skills/scientific/geomaster/references/core-libraries.md +273 -0
- package/skills/scientific/geomaster/references/data-sources.md +330 -0
- package/skills/scientific/geomaster/references/gis-software.md +369 -0
- package/skills/scientific/geomaster/references/industry-applications.md +420 -0
- package/skills/scientific/geomaster/references/machine-learning.md +462 -0
- package/skills/scientific/geomaster/references/programming-languages.md +456 -0
- package/skills/scientific/geomaster/references/remote-sensing.md +370 -0
- package/skills/scientific/geomaster/references/scientific-domains.md +416 -0
- package/skills/scientific/geomaster/references/specialized-topics.md +428 -0
- package/skills/scientific/geomaster/references/troubleshooting.md +439 -0
- package/skills/scientific/geopandas/SKILL.md +249 -0
- package/skills/scientific/geopandas/references/crs-management.md +243 -0
- package/skills/scientific/geopandas/references/data-io.md +165 -0
- package/skills/scientific/geopandas/references/data-structures.md +70 -0
- package/skills/scientific/geopandas/references/geometric-operations.md +221 -0
- package/skills/scientific/geopandas/references/spatial-analysis.md +184 -0
- package/skills/scientific/geopandas/references/visualization.md +243 -0
- package/skills/scientific/get-available-resources/SKILL.md +275 -0
- package/skills/scientific/get-available-resources/scripts/detect_resources.py +402 -0
- package/skills/scientific/gget/SKILL.md +869 -0
- package/skills/scientific/gget/references/database_info.md +300 -0
- package/skills/scientific/gget/references/module_reference.md +467 -0
- package/skills/scientific/gget/references/workflows.md +814 -0
- package/skills/scientific/gget/scripts/batch_sequence_analysis.py +191 -0
- package/skills/scientific/gget/scripts/enrichment_pipeline.py +235 -0
- package/skills/scientific/gget/scripts/gene_analysis.py +161 -0
- package/skills/scientific/ginkgo-cloud-lab/SKILL.md +56 -0
- package/skills/scientific/ginkgo-cloud-lab/references/cell-free-protein-expression-optimization.md +85 -0
- package/skills/scientific/ginkgo-cloud-lab/references/cell-free-protein-expression-validation.md +71 -0
- package/skills/scientific/ginkgo-cloud-lab/references/fluorescent-pixel-art-generation.md +87 -0
- package/skills/scientific/glycoengineering/SKILL.md +338 -0
- package/skills/scientific/glycoengineering/references/glycan_databases.md +165 -0
- package/skills/scientific/gtars/SKILL.md +283 -0
- package/skills/scientific/gtars/references/cli.md +222 -0
- package/skills/scientific/gtars/references/coverage.md +172 -0
- package/skills/scientific/gtars/references/overlap.md +156 -0
- package/skills/scientific/gtars/references/python-api.md +211 -0
- package/skills/scientific/gtars/references/refget.md +147 -0
- package/skills/scientific/gtars/references/tokenizers.md +103 -0
- package/skills/scientific/histolab/SKILL.md +676 -0
- package/skills/scientific/histolab/references/filters_preprocessing.md +514 -0
- package/skills/scientific/histolab/references/slide_management.md +172 -0
- package/skills/scientific/histolab/references/tile_extraction.md +421 -0
- package/skills/scientific/histolab/references/tissue_masks.md +251 -0
- package/skills/scientific/histolab/references/visualization.md +547 -0
- package/skills/scientific/hugging-science/SKILL.md +131 -0
- package/skills/scientific/hugging-science/references/flagship-resources.md +81 -0
- package/skills/scientific/hugging-science/references/topics-and-slugs.md +82 -0
- package/skills/scientific/hugging-science/references/using-datasets.md +107 -0
- package/skills/scientific/hugging-science/references/using-models.md +120 -0
- package/skills/scientific/hugging-science/references/using-spaces.md +117 -0
- package/skills/scientific/hugging-science/scripts/fetch_catalog.py +305 -0
- package/skills/scientific/hypogenic/SKILL.md +655 -0
- package/skills/scientific/hypogenic/references/config_template.yaml +150 -0
- package/skills/scientific/hypothesis-generation/SKILL.md +1 -1
- package/skills/scientific/imaging-data-commons/SKILL.md +862 -0
- package/skills/scientific/imaging-data-commons/references/bigquery_guide.md +858 -0
- package/skills/scientific/imaging-data-commons/references/cli_guide.md +272 -0
- package/skills/scientific/imaging-data-commons/references/clinical_data_guide.md +329 -0
- package/skills/scientific/imaging-data-commons/references/cloud_storage_guide.md +333 -0
- package/skills/scientific/imaging-data-commons/references/dicomweb_guide.md +399 -0
- package/skills/scientific/imaging-data-commons/references/digital_pathology_guide.md +403 -0
- package/skills/scientific/imaging-data-commons/references/index_tables_guide.md +151 -0
- package/skills/scientific/imaging-data-commons/references/parquet_access_guide.md +196 -0
- package/skills/scientific/imaging-data-commons/references/sql_patterns.md +286 -0
- package/skills/scientific/imaging-data-commons/references/use_cases.md +186 -0
- package/skills/scientific/infographics/SKILL.md +563 -0
- package/skills/scientific/infographics/references/color_palettes.md +496 -0
- package/skills/scientific/infographics/references/design_principles.md +636 -0
- package/skills/scientific/infographics/references/infographic_types.md +907 -0
- package/skills/scientific/infographics/scripts/generate_infographic.py +234 -0
- package/skills/scientific/infographics/scripts/generate_infographic_ai.py +1320 -0
- package/skills/scientific/iso-13485-certification/SKILL.md +678 -0
- package/skills/scientific/iso-13485-certification/assets/templates/procedures/CAPA-procedure-template.md +453 -0
- package/skills/scientific/iso-13485-certification/assets/templates/procedures/document-control-procedure-template.md +567 -0
- package/skills/scientific/iso-13485-certification/assets/templates/quality-manual-template.md +521 -0
- package/skills/scientific/iso-13485-certification/references/gap-analysis-checklist.md +568 -0
- package/skills/scientific/iso-13485-certification/references/iso-13485-requirements.md +610 -0
- package/skills/scientific/iso-13485-certification/references/mandatory-documents.md +606 -0
- package/skills/scientific/iso-13485-certification/references/quality-manual-guide.md +688 -0
- package/skills/scientific/iso-13485-certification/scripts/gap_analyzer.py +439 -0
- package/skills/scientific/labarchive-integration/SKILL.md +266 -0
- package/skills/scientific/labarchive-integration/references/api_reference.md +342 -0
- package/skills/scientific/labarchive-integration/references/authentication_guide.md +357 -0
- package/skills/scientific/labarchive-integration/references/integrations.md +425 -0
- package/skills/scientific/labarchive-integration/scripts/entry_operations.py +334 -0
- package/skills/scientific/labarchive-integration/scripts/notebook_operations.py +269 -0
- package/skills/scientific/labarchive-integration/scripts/setup_config.py +205 -0
- package/skills/scientific/lamindb/SKILL.md +388 -0
- package/skills/scientific/lamindb/references/annotation-validation.md +513 -0
- package/skills/scientific/lamindb/references/core-concepts.md +380 -0
- package/skills/scientific/lamindb/references/data-management.md +433 -0
- package/skills/scientific/lamindb/references/integrations.md +642 -0
- package/skills/scientific/lamindb/references/ontologies.md +497 -0
- package/skills/scientific/lamindb/references/setup-deployment.md +733 -0
- package/skills/scientific/latchbio-integration/SKILL.md +351 -0
- package/skills/scientific/latchbio-integration/references/data-management.md +427 -0
- package/skills/scientific/latchbio-integration/references/resource-configuration.md +429 -0
- package/skills/scientific/latchbio-integration/references/verified-workflows.md +487 -0
- package/skills/scientific/latchbio-integration/references/workflow-creation.md +254 -0
- package/skills/scientific/latex-posters/SKILL.md +1594 -0
- package/skills/scientific/latex-posters/assets/baposter_template.tex +257 -0
- package/skills/scientific/latex-posters/assets/beamerposter_template.tex +244 -0
- package/skills/scientific/latex-posters/assets/poster_quality_checklist.md +358 -0
- package/skills/scientific/latex-posters/assets/tikzposter_template.tex +251 -0
- package/skills/scientific/latex-posters/references/README.md +417 -0
- package/skills/scientific/latex-posters/references/latex_poster_packages.md +745 -0
- package/skills/scientific/latex-posters/references/poster_content_guide.md +748 -0
- package/skills/scientific/latex-posters/references/poster_design_principles.md +806 -0
- package/skills/scientific/latex-posters/references/poster_layout_design.md +900 -0
- package/skills/scientific/latex-posters/scripts/generate_schematic.py +139 -0
- package/skills/scientific/latex-posters/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/latex-posters/scripts/review_poster.sh +214 -0
- package/skills/scientific/literature-review/SKILL.md +1 -1
- package/skills/scientific/markdown-mermaid-writing/SKILL.md +1 -1
- package/skills/scientific/market-research-reports/SKILL.md +905 -0
- package/skills/scientific/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
- package/skills/scientific/market-research-reports/assets/market_report_template.tex +1380 -0
- package/skills/scientific/market-research-reports/assets/market_research.sty +564 -0
- package/skills/scientific/market-research-reports/references/data_analysis_patterns.md +548 -0
- package/skills/scientific/market-research-reports/references/report_structure_guide.md +999 -0
- package/skills/scientific/market-research-reports/references/visual_generation_guide.md +1077 -0
- package/skills/scientific/market-research-reports/scripts/generate_market_visuals.py +529 -0
- package/skills/scientific/markitdown/SKILL.md +488 -0
- package/skills/scientific/markitdown/assets/example_usage.md +463 -0
- package/skills/scientific/markitdown/references/api_reference.md +396 -0
- package/skills/scientific/markitdown/references/file_formats.md +542 -0
- package/skills/scientific/markitdown/scripts/batch_convert.py +228 -0
- package/skills/scientific/markitdown/scripts/convert_literature.py +283 -0
- package/skills/scientific/markitdown/scripts/convert_with_ai.py +240 -0
- package/skills/scientific/markitdown/scripts/generate_schematic.py +139 -0
- package/skills/scientific/markitdown/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/matchms/SKILL.md +201 -0
- package/skills/scientific/matchms/references/filtering.md +288 -0
- package/skills/scientific/matchms/references/importing_exporting.md +416 -0
- package/skills/scientific/matchms/references/similarity.md +380 -0
- package/skills/scientific/matchms/references/workflows.md +647 -0
- package/skills/scientific/matlab/SKILL.md +372 -0
- package/skills/scientific/matlab/references/data-import-export.md +479 -0
- package/skills/scientific/matlab/references/executing-scripts.md +444 -0
- package/skills/scientific/matlab/references/graphics-visualization.md +579 -0
- package/skills/scientific/matlab/references/mathematics.md +553 -0
- package/skills/scientific/matlab/references/matrices-arrays.md +349 -0
- package/skills/scientific/matlab/references/octave-compatibility.md +544 -0
- package/skills/scientific/matlab/references/programming.md +672 -0
- package/skills/scientific/matlab/references/python-integration.md +433 -0
- package/skills/scientific/matplotlib/SKILL.md +359 -0
- package/skills/scientific/matplotlib/references/api_reference.md +412 -0
- package/skills/scientific/matplotlib/references/common_issues.md +563 -0
- package/skills/scientific/matplotlib/references/plot_types.md +476 -0
- package/skills/scientific/matplotlib/references/styling_guide.md +589 -0
- package/skills/scientific/matplotlib/scripts/plot_template.py +401 -0
- package/skills/scientific/matplotlib/scripts/style_configurator.py +409 -0
- package/skills/scientific/medchem/SKILL.md +404 -0
- package/skills/scientific/medchem/references/api_guide.md +600 -0
- package/skills/scientific/medchem/references/rules_catalog.md +604 -0
- package/skills/scientific/medchem/scripts/filter_molecules.py +418 -0
- package/skills/scientific/modal/SKILL.md +406 -0
- package/skills/scientific/modal/references/api_reference.md +187 -0
- package/skills/scientific/modal/references/examples.md +266 -0
- package/skills/scientific/modal/references/functions.md +260 -0
- package/skills/scientific/modal/references/getting-started.md +175 -0
- package/skills/scientific/modal/references/gpu.md +174 -0
- package/skills/scientific/modal/references/images.md +259 -0
- package/skills/scientific/modal/references/resources.md +117 -0
- package/skills/scientific/modal/references/scaling.md +173 -0
- package/skills/scientific/modal/references/scheduled-jobs.md +143 -0
- package/skills/scientific/modal/references/secrets.md +119 -0
- package/skills/scientific/modal/references/volumes.md +247 -0
- package/skills/scientific/modal/references/web-endpoints.md +254 -0
- package/skills/scientific/molecular-dynamics/SKILL.md +457 -0
- package/skills/scientific/molecular-dynamics/references/mdanalysis_analysis.md +208 -0
- package/skills/scientific/molfeat/SKILL.md +509 -0
- package/skills/scientific/molfeat/references/api_reference.md +428 -0
- package/skills/scientific/molfeat/references/available_featurizers.md +333 -0
- package/skills/scientific/molfeat/references/examples.md +723 -0
- package/skills/scientific/networkx/SKILL.md +435 -0
- package/skills/scientific/networkx/references/algorithms.md +383 -0
- package/skills/scientific/networkx/references/generators.md +378 -0
- package/skills/scientific/networkx/references/graph-basics.md +283 -0
- package/skills/scientific/networkx/references/io.md +441 -0
- package/skills/scientific/networkx/references/visualization.md +529 -0
- package/skills/scientific/neurokit2/SKILL.md +354 -0
- package/skills/scientific/neurokit2/references/bio_module.md +417 -0
- package/skills/scientific/neurokit2/references/complexity.md +715 -0
- package/skills/scientific/neurokit2/references/ecg_cardiac.md +355 -0
- package/skills/scientific/neurokit2/references/eda.md +497 -0
- package/skills/scientific/neurokit2/references/eeg.md +506 -0
- package/skills/scientific/neurokit2/references/emg.md +408 -0
- package/skills/scientific/neurokit2/references/eog.md +407 -0
- package/skills/scientific/neurokit2/references/epochs_events.md +471 -0
- package/skills/scientific/neurokit2/references/hrv.md +480 -0
- package/skills/scientific/neurokit2/references/ppg.md +413 -0
- package/skills/scientific/neurokit2/references/rsp.md +510 -0
- package/skills/scientific/neurokit2/references/signal_processing.md +648 -0
- package/skills/scientific/neuropixels-analysis/SKILL.md +348 -0
- package/skills/scientific/neuropixels-analysis/assets/analysis_template.py +271 -0
- package/skills/scientific/neuropixels-analysis/references/AI_CURATION.md +345 -0
- package/skills/scientific/neuropixels-analysis/references/ANALYSIS.md +392 -0
- package/skills/scientific/neuropixels-analysis/references/AUTOMATED_CURATION.md +358 -0
- package/skills/scientific/neuropixels-analysis/references/MOTION_CORRECTION.md +323 -0
- package/skills/scientific/neuropixels-analysis/references/PREPROCESSING.md +273 -0
- package/skills/scientific/neuropixels-analysis/references/QUALITY_METRICS.md +359 -0
- package/skills/scientific/neuropixels-analysis/references/SPIKE_SORTING.md +339 -0
- package/skills/scientific/neuropixels-analysis/references/api_reference.md +415 -0
- package/skills/scientific/neuropixels-analysis/references/plotting_guide.md +454 -0
- package/skills/scientific/neuropixels-analysis/references/standard_workflow.md +385 -0
- package/skills/scientific/neuropixels-analysis/scripts/compute_metrics.py +178 -0
- package/skills/scientific/neuropixels-analysis/scripts/explore_recording.py +168 -0
- package/skills/scientific/neuropixels-analysis/scripts/export_to_phy.py +79 -0
- package/skills/scientific/neuropixels-analysis/scripts/neuropixels_pipeline.py +432 -0
- package/skills/scientific/neuropixels-analysis/scripts/preprocess_recording.py +122 -0
- package/skills/scientific/neuropixels-analysis/scripts/run_sorting.py +98 -0
- package/skills/scientific/omero-integration/SKILL.md +249 -0
- package/skills/scientific/omero-integration/references/advanced.md +631 -0
- package/skills/scientific/omero-integration/references/connection.md +369 -0
- package/skills/scientific/omero-integration/references/data_access.md +544 -0
- package/skills/scientific/omero-integration/references/image_processing.md +665 -0
- package/skills/scientific/omero-integration/references/metadata.md +688 -0
- package/skills/scientific/omero-integration/references/rois.md +648 -0
- package/skills/scientific/omero-integration/references/scripts.md +637 -0
- package/skills/scientific/omero-integration/references/tables.md +532 -0
- package/skills/scientific/open-notebook/SKILL.md +285 -0
- package/skills/scientific/open-notebook/references/api_reference.md +715 -0
- package/skills/scientific/open-notebook/references/architecture.md +163 -0
- package/skills/scientific/open-notebook/references/configuration.md +226 -0
- package/skills/scientific/open-notebook/references/examples.md +290 -0
- package/skills/scientific/open-notebook/scripts/chat_interaction.py +190 -0
- package/skills/scientific/open-notebook/scripts/notebook_management.py +142 -0
- package/skills/scientific/open-notebook/scripts/source_ingestion.py +160 -0
- package/skills/scientific/open-notebook/scripts/test_open_notebook_skill.py +414 -0
- package/skills/scientific/opentrons-integration/SKILL.md +571 -0
- package/skills/scientific/opentrons-integration/references/api_reference.md +366 -0
- package/skills/scientific/opentrons-integration/scripts/basic_protocol_template.py +67 -0
- package/skills/scientific/opentrons-integration/scripts/pcr_setup_template.py +154 -0
- package/skills/scientific/opentrons-integration/scripts/serial_dilution_template.py +96 -0
- package/skills/scientific/optimize-for-gpu/SKILL.md +700 -0
- package/skills/scientific/optimize-for-gpu/references/cucim.md +672 -0
- package/skills/scientific/optimize-for-gpu/references/cudf.md +758 -0
- package/skills/scientific/optimize-for-gpu/references/cugraph.md +747 -0
- package/skills/scientific/optimize-for-gpu/references/cuml.md +695 -0
- package/skills/scientific/optimize-for-gpu/references/cupy.md +658 -0
- package/skills/scientific/optimize-for-gpu/references/cuspatial.md +415 -0
- package/skills/scientific/optimize-for-gpu/references/cuvs.md +642 -0
- package/skills/scientific/optimize-for-gpu/references/cuxfilter.md +596 -0
- package/skills/scientific/optimize-for-gpu/references/kvikio.md +607 -0
- package/skills/scientific/optimize-for-gpu/references/numba.md +775 -0
- package/skills/scientific/optimize-for-gpu/references/raft.md +307 -0
- package/skills/scientific/optimize-for-gpu/references/warp.md +613 -0
- package/skills/scientific/pacsomatic/LICENSE +21 -0
- package/skills/scientific/pacsomatic/SKILL.md +149 -0
- package/skills/scientific/pacsomatic/config.yaml +42 -0
- package/skills/scientific/pacsomatic/references/agent-playbook.md +73 -0
- package/skills/scientific/pacsomatic/references/config-and-output.md +100 -0
- package/skills/scientific/pacsomatic/references/pacsomatic_guide.md +254 -0
- package/skills/scientific/pacsomatic/scripts/run_pacsomatic.py +732 -0
- package/skills/scientific/pacsomatic/tests/test_run_pacsomatic.py +77 -0
- package/skills/scientific/paper-lookup/SKILL.md +1 -1
- package/skills/scientific/paperzilla/SKILL.md +158 -0
- package/skills/scientific/parallel-web/SKILL.md +103 -0
- package/skills/scientific/parallel-web/references/data-enrichment.md +72 -0
- package/skills/scientific/parallel-web/references/deep-research.md +80 -0
- package/skills/scientific/parallel-web/references/web-extract.md +45 -0
- package/skills/scientific/parallel-web/references/web-search.md +73 -0
- package/skills/scientific/pathml/SKILL.md +164 -0
- package/skills/scientific/pathml/references/data_management.md +742 -0
- package/skills/scientific/pathml/references/graphs.md +653 -0
- package/skills/scientific/pathml/references/image_loading.md +448 -0
- package/skills/scientific/pathml/references/machine_learning.md +725 -0
- package/skills/scientific/pathml/references/multiparametric.md +686 -0
- package/skills/scientific/pathml/references/preprocessing.md +722 -0
- package/skills/scientific/pdf/LICENSE.txt +30 -0
- package/skills/scientific/pdf/SKILL.md +314 -0
- package/skills/scientific/pdf/forms.md +294 -0
- package/skills/scientific/pdf/reference.md +612 -0
- package/skills/scientific/pdf/scripts/check_bounding_boxes.py +65 -0
- package/skills/scientific/pdf/scripts/check_fillable_fields.py +11 -0
- package/skills/scientific/pdf/scripts/convert_pdf_to_images.py +33 -0
- package/skills/scientific/pdf/scripts/create_validation_image.py +37 -0
- package/skills/scientific/pdf/scripts/extract_form_field_info.py +122 -0
- package/skills/scientific/pdf/scripts/extract_form_structure.py +115 -0
- package/skills/scientific/pdf/scripts/fill_fillable_fields.py +98 -0
- package/skills/scientific/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/skills/scientific/peer-review/SKILL.md +1 -1
- package/skills/scientific/pennylane/SKILL.md +224 -0
- package/skills/scientific/pennylane/references/advanced_features.md +667 -0
- package/skills/scientific/pennylane/references/devices_backends.md +596 -0
- package/skills/scientific/pennylane/references/getting_started.md +227 -0
- package/skills/scientific/pennylane/references/optimization.md +671 -0
- package/skills/scientific/pennylane/references/quantum_chemistry.md +567 -0
- package/skills/scientific/pennylane/references/quantum_circuits.md +437 -0
- package/skills/scientific/pennylane/references/quantum_ml.md +571 -0
- package/skills/scientific/phylogenetics/SKILL.md +404 -0
- package/skills/scientific/phylogenetics/references/iqtree_inference.md +181 -0
- package/skills/scientific/phylogenetics/scripts/phylogenetic_analysis.py +270 -0
- package/skills/scientific/polars/SKILL.md +385 -0
- package/skills/scientific/polars/references/best_practices.md +649 -0
- package/skills/scientific/polars/references/core_concepts.md +378 -0
- package/skills/scientific/polars/references/io_guide.md +557 -0
- package/skills/scientific/polars/references/operations.md +602 -0
- package/skills/scientific/polars/references/pandas_migration.md +417 -0
- package/skills/scientific/polars/references/transformations.md +549 -0
- package/skills/scientific/polars-bio/SKILL.md +374 -0
- package/skills/scientific/polars-bio/references/bioframe_migration.md +250 -0
- package/skills/scientific/polars-bio/references/configuration.md +175 -0
- package/skills/scientific/polars-bio/references/file_io.md +414 -0
- package/skills/scientific/polars-bio/references/interval_operations.md +362 -0
- package/skills/scientific/polars-bio/references/pileup_operations.md +176 -0
- package/skills/scientific/polars-bio/references/sql_processing.md +224 -0
- package/skills/scientific/pptx/LICENSE.txt +30 -0
- package/skills/scientific/pptx/SKILL.md +232 -0
- package/skills/scientific/pptx/editing.md +205 -0
- package/skills/scientific/pptx/pptxgenjs.md +420 -0
- package/skills/scientific/pptx/scripts/__init__.py +0 -0
- package/skills/scientific/pptx/scripts/add_slide.py +195 -0
- package/skills/scientific/pptx/scripts/clean.py +286 -0
- package/skills/scientific/pptx/scripts/office/helpers/__init__.py +0 -0
- package/skills/scientific/pptx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills/scientific/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills/scientific/pptx/scripts/office/pack.py +159 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/scientific/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/scientific/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/scientific/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/scientific/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/scientific/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/scientific/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/scientific/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/scientific/pptx/scripts/office/soffice.py +183 -0
- package/skills/scientific/pptx/scripts/office/unpack.py +132 -0
- package/skills/scientific/pptx/scripts/office/validate.py +111 -0
- package/skills/scientific/pptx/scripts/office/validators/__init__.py +15 -0
- package/skills/scientific/pptx/scripts/office/validators/base.py +847 -0
- package/skills/scientific/pptx/scripts/office/validators/docx.py +446 -0
- package/skills/scientific/pptx/scripts/office/validators/pptx.py +275 -0
- package/skills/scientific/pptx/scripts/office/validators/redlining.py +247 -0
- package/skills/scientific/pptx/scripts/thumbnail.py +289 -0
- package/skills/scientific/pptx-posters/SKILL.md +414 -0
- package/skills/scientific/pptx-posters/assets/poster_html_template.html +257 -0
- package/skills/scientific/pptx-posters/assets/poster_quality_checklist.md +358 -0
- package/skills/scientific/pptx-posters/references/poster_content_guide.md +748 -0
- package/skills/scientific/pptx-posters/references/poster_design_principles.md +806 -0
- package/skills/scientific/pptx-posters/references/poster_layout_design.md +900 -0
- package/skills/scientific/pptx-posters/scripts/generate_schematic.py +139 -0
- package/skills/scientific/pptx-posters/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/primekg/SKILL.md +97 -0
- package/skills/scientific/primekg/scripts/query_primekg.py +123 -0
- package/skills/scientific/protocolsio-integration/SKILL.md +419 -0
- package/skills/scientific/protocolsio-integration/references/additional_features.md +387 -0
- package/skills/scientific/protocolsio-integration/references/authentication.md +100 -0
- package/skills/scientific/protocolsio-integration/references/discussions.md +225 -0
- package/skills/scientific/protocolsio-integration/references/file_manager.md +412 -0
- package/skills/scientific/protocolsio-integration/references/protocols_api.md +294 -0
- package/skills/scientific/protocolsio-integration/references/workspaces.md +293 -0
- package/skills/scientific/pufferlib/SKILL.md +434 -0
- package/skills/scientific/pufferlib/references/environments.md +508 -0
- package/skills/scientific/pufferlib/references/integration.md +621 -0
- package/skills/scientific/pufferlib/references/policies.md +653 -0
- package/skills/scientific/pufferlib/references/training.md +360 -0
- package/skills/scientific/pufferlib/references/vectorization.md +557 -0
- package/skills/scientific/pufferlib/scripts/env_template.py +340 -0
- package/skills/scientific/pufferlib/scripts/train_template.py +239 -0
- package/skills/scientific/pydeseq2/SKILL.md +557 -0
- package/skills/scientific/pydeseq2/references/api_reference.md +228 -0
- package/skills/scientific/pydeseq2/references/workflow_guide.md +582 -0
- package/skills/scientific/pydeseq2/scripts/run_deseq2_analysis.py +353 -0
- package/skills/scientific/pydicom/SKILL.md +432 -0
- package/skills/scientific/pydicom/references/common_tags.md +228 -0
- package/skills/scientific/pydicom/references/transfer_syntaxes.md +352 -0
- package/skills/scientific/pydicom/scripts/anonymize_dicom.py +137 -0
- package/skills/scientific/pydicom/scripts/dicom_to_image.py +172 -0
- package/skills/scientific/pydicom/scripts/extract_metadata.py +173 -0
- package/skills/scientific/pyhealth/SKILL.md +123 -0
- package/skills/scientific/pyhealth/assets/starter_pipeline.py +58 -0
- package/skills/scientific/pyhealth/references/datasets.md +126 -0
- package/skills/scientific/pyhealth/references/examples.md +237 -0
- package/skills/scientific/pyhealth/references/installation.md +112 -0
- package/skills/scientific/pyhealth/references/medcode.md +94 -0
- package/skills/scientific/pyhealth/references/models.md +114 -0
- package/skills/scientific/pyhealth/references/tasks.md +143 -0
- package/skills/scientific/pylabrobot/SKILL.md +183 -0
- package/skills/scientific/pylabrobot/references/analytical-equipment.md +464 -0
- package/skills/scientific/pylabrobot/references/hardware-backends.md +480 -0
- package/skills/scientific/pylabrobot/references/liquid-handling.md +403 -0
- package/skills/scientific/pylabrobot/references/material-handling.md +620 -0
- package/skills/scientific/pylabrobot/references/resources.md +489 -0
- package/skills/scientific/pylabrobot/references/visualization.md +532 -0
- package/skills/scientific/pymatgen/SKILL.md +689 -0
- package/skills/scientific/pymatgen/references/analysis_modules.md +530 -0
- package/skills/scientific/pymatgen/references/core_classes.md +318 -0
- package/skills/scientific/pymatgen/references/io_formats.md +469 -0
- package/skills/scientific/pymatgen/references/materials_project_api.md +517 -0
- package/skills/scientific/pymatgen/references/transformations_workflows.md +591 -0
- package/skills/scientific/pymatgen/scripts/phase_diagram_generator.py +233 -0
- package/skills/scientific/pymatgen/scripts/structure_analyzer.py +266 -0
- package/skills/scientific/pymatgen/scripts/structure_converter.py +169 -0
- package/skills/scientific/pymc/SKILL.md +570 -0
- package/skills/scientific/pymc/assets/hierarchical_model_template.py +333 -0
- package/skills/scientific/pymc/assets/linear_regression_template.py +241 -0
- package/skills/scientific/pymc/references/distributions.md +320 -0
- package/skills/scientific/pymc/references/sampling_inference.md +424 -0
- package/skills/scientific/pymc/references/workflows.md +526 -0
- package/skills/scientific/pymc/scripts/model_comparison.py +387 -0
- package/skills/scientific/pymc/scripts/model_diagnostics.py +350 -0
- package/skills/scientific/pymoo/SKILL.md +569 -0
- package/skills/scientific/pymoo/references/algorithms.md +180 -0
- package/skills/scientific/pymoo/references/constraints_mcdm.md +417 -0
- package/skills/scientific/pymoo/references/operators.md +345 -0
- package/skills/scientific/pymoo/references/problems.md +265 -0
- package/skills/scientific/pymoo/references/visualization.md +353 -0
- package/skills/scientific/pymoo/scripts/custom_problem_example.py +181 -0
- package/skills/scientific/pymoo/scripts/decision_making_example.py +161 -0
- package/skills/scientific/pymoo/scripts/many_objective_example.py +72 -0
- package/skills/scientific/pymoo/scripts/multi_objective_example.py +63 -0
- package/skills/scientific/pymoo/scripts/single_objective_example.py +59 -0
- package/skills/scientific/pyopenms/SKILL.md +215 -0
- package/skills/scientific/pyopenms/references/data_structures.md +497 -0
- package/skills/scientific/pyopenms/references/feature_detection.md +410 -0
- package/skills/scientific/pyopenms/references/file_io.md +349 -0
- package/skills/scientific/pyopenms/references/identification.md +422 -0
- package/skills/scientific/pyopenms/references/metabolomics.md +482 -0
- package/skills/scientific/pyopenms/references/signal_processing.md +433 -0
- package/skills/scientific/pyproject.toml +11 -0
- package/skills/scientific/pysam/SKILL.md +263 -0
- package/skills/scientific/pysam/references/alignment_files.md +280 -0
- package/skills/scientific/pysam/references/common_workflows.md +520 -0
- package/skills/scientific/pysam/references/sequence_files.md +407 -0
- package/skills/scientific/pysam/references/variant_files.md +365 -0
- package/skills/scientific/pytdc/SKILL.md +458 -0
- package/skills/scientific/pytdc/references/datasets.md +246 -0
- package/skills/scientific/pytdc/references/oracles.md +400 -0
- package/skills/scientific/pytdc/references/utilities.md +684 -0
- package/skills/scientific/pytdc/scripts/benchmark_evaluation.py +327 -0
- package/skills/scientific/pytdc/scripts/load_and_split_data.py +214 -0
- package/skills/scientific/pytdc/scripts/molecular_generation.py +404 -0
- package/skills/scientific/pytorch-lightning/SKILL.md +172 -0
- package/skills/scientific/pytorch-lightning/references/best_practices.md +724 -0
- package/skills/scientific/pytorch-lightning/references/callbacks.md +564 -0
- package/skills/scientific/pytorch-lightning/references/data_module.md +565 -0
- package/skills/scientific/pytorch-lightning/references/distributed_training.md +643 -0
- package/skills/scientific/pytorch-lightning/references/lightning_module.md +487 -0
- package/skills/scientific/pytorch-lightning/references/logging.md +654 -0
- package/skills/scientific/pytorch-lightning/references/trainer.md +641 -0
- package/skills/scientific/pytorch-lightning/scripts/quick_trainer_setup.py +454 -0
- package/skills/scientific/pytorch-lightning/scripts/template_datamodule.py +328 -0
- package/skills/scientific/pytorch-lightning/scripts/template_lightning_module.py +219 -0
- package/skills/scientific/pyzotero/SKILL.md +111 -0
- package/skills/scientific/pyzotero/references/authentication.md +90 -0
- package/skills/scientific/pyzotero/references/cli.md +100 -0
- package/skills/scientific/pyzotero/references/collections.md +113 -0
- package/skills/scientific/pyzotero/references/error-handling.md +103 -0
- package/skills/scientific/pyzotero/references/exports.md +102 -0
- package/skills/scientific/pyzotero/references/files-attachments.md +97 -0
- package/skills/scientific/pyzotero/references/full-text.md +68 -0
- package/skills/scientific/pyzotero/references/pagination.md +79 -0
- package/skills/scientific/pyzotero/references/read-api.md +137 -0
- package/skills/scientific/pyzotero/references/saved-searches.md +77 -0
- package/skills/scientific/pyzotero/references/search-params.md +90 -0
- package/skills/scientific/pyzotero/references/tags.md +87 -0
- package/skills/scientific/pyzotero/references/write-api.md +123 -0
- package/skills/scientific/qiskit/SKILL.md +273 -0
- package/skills/scientific/qiskit/references/algorithms.md +607 -0
- package/skills/scientific/qiskit/references/backends.md +433 -0
- package/skills/scientific/qiskit/references/circuits.md +197 -0
- package/skills/scientific/qiskit/references/patterns.md +533 -0
- package/skills/scientific/qiskit/references/primitives.md +277 -0
- package/skills/scientific/qiskit/references/setup.md +99 -0
- package/skills/scientific/qiskit/references/transpilation.md +286 -0
- package/skills/scientific/qiskit/references/visualization.md +415 -0
- package/skills/scientific/qutip/SKILL.md +316 -0
- package/skills/scientific/qutip/references/advanced.md +555 -0
- package/skills/scientific/qutip/references/analysis.md +523 -0
- package/skills/scientific/qutip/references/core_concepts.md +293 -0
- package/skills/scientific/qutip/references/time_evolution.md +348 -0
- package/skills/scientific/qutip/references/visualization.md +431 -0
- package/skills/scientific/rdkit/SKILL.md +780 -0
- package/skills/scientific/rdkit/references/api_reference.md +432 -0
- package/skills/scientific/rdkit/references/descriptors_reference.md +595 -0
- package/skills/scientific/rdkit/references/smarts_patterns.md +668 -0
- package/skills/scientific/rdkit/scripts/molecular_properties.py +243 -0
- package/skills/scientific/rdkit/scripts/similarity_search.py +297 -0
- package/skills/scientific/rdkit/scripts/substructure_filter.py +386 -0
- package/skills/scientific/research-grants/SKILL.md +940 -0
- package/skills/scientific/research-grants/assets/budget_justification_template.md +453 -0
- package/skills/scientific/research-grants/assets/nih_specific_aims_template.md +166 -0
- package/skills/scientific/research-grants/assets/nsf_project_summary_template.md +92 -0
- package/skills/scientific/research-grants/references/README.md +285 -0
- package/skills/scientific/research-grants/references/broader_impacts.md +392 -0
- package/skills/scientific/research-grants/references/darpa_guidelines.md +636 -0
- package/skills/scientific/research-grants/references/doe_guidelines.md +586 -0
- package/skills/scientific/research-grants/references/nih_guidelines.md +851 -0
- package/skills/scientific/research-grants/references/nsf_guidelines.md +570 -0
- package/skills/scientific/research-grants/references/nstc_guidelines.md +733 -0
- package/skills/scientific/research-grants/references/specific_aims_guide.md +458 -0
- package/skills/scientific/research-grants/scripts/generate_schematic.py +139 -0
- package/skills/scientific/research-grants/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/research-lookup/README.md +156 -0
- package/skills/scientific/research-lookup/SKILL.md +550 -0
- package/skills/scientific/research-lookup/examples.py +174 -0
- package/skills/scientific/research-lookup/lookup.py +187 -0
- package/skills/scientific/research-lookup/research_lookup.py +566 -0
- package/skills/scientific/research-lookup/scripts/generate_schematic.py +139 -0
- package/skills/scientific/research-lookup/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/research-lookup/scripts/research_lookup.py +566 -0
- package/skills/scientific/rowan/SKILL.md +1087 -0
- package/skills/scientific/scan_pr_skills.py +244 -0
- package/skills/scientific/scan_skills.py +224 -0
- package/skills/scientific/scanpy/SKILL.md +384 -0
- package/skills/scientific/scanpy/assets/analysis_template.py +295 -0
- package/skills/scientific/scanpy/references/api_reference.md +251 -0
- package/skills/scientific/scanpy/references/plotting_guide.md +352 -0
- package/skills/scientific/scanpy/references/standard_workflow.md +206 -0
- package/skills/scientific/scanpy/scripts/qc_analysis.py +200 -0
- package/skills/scientific/scholar-evaluation/SKILL.md +1 -1
- package/skills/scientific/scientific-brainstorming/SKILL.md +1 -1
- package/skills/scientific/scientific-critical-thinking/SKILL.md +1 -1
- package/skills/scientific/scientific-schematics/SKILL.md +618 -0
- package/skills/scientific/scientific-schematics/references/QUICK_REFERENCE.md +207 -0
- package/skills/scientific/scientific-schematics/references/README.md +327 -0
- package/skills/scientific/scientific-schematics/references/best_practices.md +560 -0
- package/skills/scientific/scientific-schematics/scripts/example_usage.sh +89 -0
- package/skills/scientific/scientific-schematics/scripts/generate_schematic.py +139 -0
- package/skills/scientific/scientific-schematics/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/scientific-slides/SKILL.md +1154 -0
- package/skills/scientific/scientific-slides/assets/beamer_template_conference.tex +407 -0
- package/skills/scientific/scientific-slides/assets/beamer_template_defense.tex +906 -0
- package/skills/scientific/scientific-slides/assets/beamer_template_seminar.tex +870 -0
- package/skills/scientific/scientific-slides/assets/powerpoint_design_guide.md +662 -0
- package/skills/scientific/scientific-slides/assets/timing_guidelines.md +597 -0
- package/skills/scientific/scientific-slides/references/beamer_guide.md +1019 -0
- package/skills/scientific/scientific-slides/references/data_visualization_slides.md +708 -0
- package/skills/scientific/scientific-slides/references/presentation_structure.md +642 -0
- package/skills/scientific/scientific-slides/references/slide_design_principles.md +849 -0
- package/skills/scientific/scientific-slides/references/talk_types_guide.md +687 -0
- package/skills/scientific/scientific-slides/references/visual_review_workflow.md +775 -0
- package/skills/scientific/scientific-slides/scripts/generate_schematic.py +139 -0
- package/skills/scientific/scientific-slides/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/scientific-slides/scripts/generate_slide_image.py +140 -0
- package/skills/scientific/scientific-slides/scripts/generate_slide_image_ai.py +740 -0
- package/skills/scientific/scientific-slides/scripts/pdf_to_images.py +221 -0
- package/skills/scientific/scientific-slides/scripts/slides_to_pdf.py +235 -0
- package/skills/scientific/scientific-slides/scripts/validate_presentation.py +403 -0
- package/skills/scientific/scientific-visualization/SKILL.md +777 -0
- package/skills/scientific/scientific-visualization/assets/color_palettes.py +197 -0
- package/skills/scientific/scientific-visualization/assets/nature.mplstyle +63 -0
- package/skills/scientific/scientific-visualization/assets/presentation.mplstyle +61 -0
- package/skills/scientific/scientific-visualization/assets/publication.mplstyle +68 -0
- package/skills/scientific/scientific-visualization/references/color_palettes.md +348 -0
- package/skills/scientific/scientific-visualization/references/journal_requirements.md +320 -0
- package/skills/scientific/scientific-visualization/references/matplotlib_examples.md +620 -0
- package/skills/scientific/scientific-visualization/references/publication_guidelines.md +205 -0
- package/skills/scientific/scientific-visualization/scripts/figure_export.py +343 -0
- package/skills/scientific/scientific-visualization/scripts/style_presets.py +416 -0
- package/skills/scientific/scientific-writing/SKILL.md +717 -0
- package/skills/scientific/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
- package/skills/scientific/scientific-writing/assets/scientific_report.sty +606 -0
- package/skills/scientific/scientific-writing/assets/scientific_report_template.tex +449 -0
- package/skills/scientific/scientific-writing/references/citation_styles.md +720 -0
- package/skills/scientific/scientific-writing/references/figures_tables.md +806 -0
- package/skills/scientific/scientific-writing/references/imrad_structure.md +686 -0
- package/skills/scientific/scientific-writing/references/professional_report_formatting.md +664 -0
- package/skills/scientific/scientific-writing/references/reporting_guidelines.md +748 -0
- package/skills/scientific/scientific-writing/references/writing_principles.md +824 -0
- package/skills/scientific/scientific-writing/scripts/generate_image.py +281 -0
- package/skills/scientific/scientific-writing/scripts/generate_schematic.py +139 -0
- package/skills/scientific/scientific-writing/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/scikit-bio/SKILL.md +435 -0
- package/skills/scientific/scikit-bio/references/api_reference.md +749 -0
- package/skills/scientific/scikit-learn/SKILL.md +519 -0
- package/skills/scientific/scikit-learn/references/model_evaluation.md +592 -0
- package/skills/scientific/scikit-learn/references/pipelines_and_composition.md +612 -0
- package/skills/scientific/scikit-learn/references/preprocessing.md +606 -0
- package/skills/scientific/scikit-learn/references/quick_reference.md +433 -0
- package/skills/scientific/scikit-learn/references/supervised_learning.md +378 -0
- package/skills/scientific/scikit-learn/references/unsupervised_learning.md +505 -0
- package/skills/scientific/scikit-learn/scripts/classification_pipeline.py +257 -0
- package/skills/scientific/scikit-learn/scripts/clustering_analysis.py +386 -0
- package/skills/scientific/scikit-survival/SKILL.md +397 -0
- package/skills/scientific/scikit-survival/references/competing-risks.md +397 -0
- package/skills/scientific/scikit-survival/references/cox-models.md +182 -0
- package/skills/scientific/scikit-survival/references/data-handling.md +494 -0
- package/skills/scientific/scikit-survival/references/ensemble-models.md +327 -0
- package/skills/scientific/scikit-survival/references/evaluation-metrics.md +378 -0
- package/skills/scientific/scikit-survival/references/svm-models.md +411 -0
- package/skills/scientific/scvelo/SKILL.md +321 -0
- package/skills/scientific/scvelo/references/velocity_models.md +168 -0
- package/skills/scientific/scvelo/scripts/rna_velocity_workflow.py +232 -0
- package/skills/scientific/scvi-tools/SKILL.md +188 -0
- package/skills/scientific/scvi-tools/references/differential-expression.md +581 -0
- package/skills/scientific/scvi-tools/references/models-atac-seq.md +321 -0
- package/skills/scientific/scvi-tools/references/models-multimodal.md +367 -0
- package/skills/scientific/scvi-tools/references/models-scrna-seq.md +330 -0
- package/skills/scientific/scvi-tools/references/models-spatial.md +438 -0
- package/skills/scientific/scvi-tools/references/models-specialized.md +408 -0
- package/skills/scientific/scvi-tools/references/theoretical-foundations.md +438 -0
- package/skills/scientific/scvi-tools/references/workflows.md +546 -0
- package/skills/scientific/seaborn/SKILL.md +671 -0
- package/skills/scientific/seaborn/references/examples.md +822 -0
- package/skills/scientific/seaborn/references/function_reference.md +770 -0
- package/skills/scientific/seaborn/references/objects_interface.md +964 -0
- package/skills/scientific/shap/SKILL.md +564 -0
- package/skills/scientific/shap/references/explainers.md +339 -0
- package/skills/scientific/shap/references/plots.md +507 -0
- package/skills/scientific/shap/references/theory.md +449 -0
- package/skills/scientific/shap/references/workflows.md +605 -0
- package/skills/scientific/simpy/SKILL.md +427 -0
- package/skills/scientific/simpy/references/events.md +374 -0
- package/skills/scientific/simpy/references/monitoring.md +475 -0
- package/skills/scientific/simpy/references/process-interaction.md +424 -0
- package/skills/scientific/simpy/references/real-time.md +395 -0
- package/skills/scientific/simpy/references/resources.md +275 -0
- package/skills/scientific/simpy/scripts/basic_simulation_template.py +193 -0
- package/skills/scientific/simpy/scripts/resource_monitor.py +345 -0
- package/skills/scientific/stable-baselines3/SKILL.md +297 -0
- package/skills/scientific/stable-baselines3/references/algorithms.md +333 -0
- package/skills/scientific/stable-baselines3/references/callbacks.md +556 -0
- package/skills/scientific/stable-baselines3/references/custom_environments.md +526 -0
- package/skills/scientific/stable-baselines3/references/vectorized_envs.md +568 -0
- package/skills/scientific/stable-baselines3/scripts/custom_env_template.py +314 -0
- package/skills/scientific/stable-baselines3/scripts/evaluate_agent.py +245 -0
- package/skills/scientific/stable-baselines3/scripts/train_rl_agent.py +165 -0
- package/skills/scientific/statistical-analysis/SKILL.md +630 -0
- package/skills/scientific/statistical-analysis/references/assumptions_and_diagnostics.md +369 -0
- package/skills/scientific/statistical-analysis/references/bayesian_statistics.md +661 -0
- package/skills/scientific/statistical-analysis/references/effect_sizes_and_power.md +581 -0
- package/skills/scientific/statistical-analysis/references/reporting_standards.md +469 -0
- package/skills/scientific/statistical-analysis/references/test_selection_guide.md +129 -0
- package/skills/scientific/statistical-analysis/scripts/assumption_checks.py +539 -0
- package/skills/scientific/statsmodels/SKILL.md +612 -0
- package/skills/scientific/statsmodels/references/discrete_choice.md +669 -0
- package/skills/scientific/statsmodels/references/glm.md +619 -0
- package/skills/scientific/statsmodels/references/linear_models.md +447 -0
- package/skills/scientific/statsmodels/references/stats_diagnostics.md +859 -0
- package/skills/scientific/statsmodels/references/time_series.md +716 -0
- package/skills/scientific/sympy/SKILL.md +498 -0
- package/skills/scientific/sympy/references/advanced-topics.md +635 -0
- package/skills/scientific/sympy/references/code-generation-printing.md +599 -0
- package/skills/scientific/sympy/references/core-capabilities.md +348 -0
- package/skills/scientific/sympy/references/matrices-linear-algebra.md +526 -0
- package/skills/scientific/sympy/references/physics-mechanics.md +592 -0
- package/skills/scientific/tiledbvcf/SKILL.md +455 -0
- package/skills/scientific/timesfm-forecasting/SKILL.md +785 -0
- package/skills/scientific/timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py +524 -0
- package/skills/scientific/timesfm-forecasting/examples/anomaly-detection/output/anomaly_detection.json +448 -0
- package/skills/scientific/timesfm-forecasting/examples/anomaly-detection/output/anomaly_detection.png +0 -0
- package/skills/scientific/timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py +568 -0
- package/skills/scientific/timesfm-forecasting/examples/covariates-forecasting/output/covariates_data.png +0 -0
- package/skills/scientific/timesfm-forecasting/examples/covariates-forecasting/output/covariates_metadata.json +59 -0
- package/skills/scientific/timesfm-forecasting/examples/covariates-forecasting/output/sales_with_covariates.csv +109 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/README.md +178 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/generate_animation_data.py +147 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/generate_gif.py +248 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/generate_html.py +544 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/animation_data.json +5441 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/forecast_animation.gif +0 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/forecast_output.csv +13 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/forecast_output.json +188 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/forecast_visualization.png +0 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/output/interactive_forecast.html +5939 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/run_example.sh +53 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/run_forecast.py +167 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/temperature_anomaly.csv +37 -0
- package/skills/scientific/timesfm-forecasting/examples/global-temperature/visualize_forecast.py +123 -0
- package/skills/scientific/timesfm-forecasting/references/api_reference.md +231 -0
- package/skills/scientific/timesfm-forecasting/references/data_preparation.md +272 -0
- package/skills/scientific/timesfm-forecasting/references/system_requirements.md +201 -0
- package/skills/scientific/timesfm-forecasting/scripts/check_system.py +521 -0
- package/skills/scientific/timesfm-forecasting/scripts/forecast_csv.py +269 -0
- package/skills/scientific/torch-geometric/SKILL.md +421 -0
- package/skills/scientific/torch-geometric/references/custom_datasets.md +238 -0
- package/skills/scientific/torch-geometric/references/explainability.md +208 -0
- package/skills/scientific/torch-geometric/references/heterogeneous.md +241 -0
- package/skills/scientific/torch-geometric/references/link_prediction.md +226 -0
- package/skills/scientific/torch-geometric/references/message_passing.md +121 -0
- package/skills/scientific/torch-geometric/references/scaling.md +265 -0
- package/skills/scientific/torchdrug/SKILL.md +448 -0
- package/skills/scientific/torchdrug/references/core_concepts.md +565 -0
- package/skills/scientific/torchdrug/references/datasets.md +380 -0
- package/skills/scientific/torchdrug/references/knowledge_graphs.md +320 -0
- package/skills/scientific/torchdrug/references/models_architectures.md +541 -0
- package/skills/scientific/torchdrug/references/molecular_generation.md +352 -0
- package/skills/scientific/torchdrug/references/molecular_property_prediction.md +169 -0
- package/skills/scientific/torchdrug/references/protein_modeling.md +272 -0
- package/skills/scientific/torchdrug/references/retrosynthesis.md +436 -0
- package/skills/scientific/transformers/SKILL.md +162 -0
- package/skills/scientific/transformers/references/generation.md +467 -0
- package/skills/scientific/transformers/references/models.md +361 -0
- package/skills/scientific/transformers/references/pipelines.md +335 -0
- package/skills/scientific/transformers/references/tokenizers.md +447 -0
- package/skills/scientific/transformers/references/training.md +500 -0
- package/skills/scientific/treatment-plans/SKILL.md +1580 -0
- package/skills/scientific/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
- package/skills/scientific/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
- package/skills/scientific/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
- package/skills/scientific/treatment-plans/assets/medical_treatment_plan.sty +222 -0
- package/skills/scientific/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
- package/skills/scientific/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
- package/skills/scientific/treatment-plans/assets/pain_management_plan.tex +799 -0
- package/skills/scientific/treatment-plans/assets/perioperative_care_plan.tex +753 -0
- package/skills/scientific/treatment-plans/assets/quality_checklist.md +471 -0
- package/skills/scientific/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
- package/skills/scientific/treatment-plans/references/README.md +488 -0
- package/skills/scientific/treatment-plans/references/goal_setting_frameworks.md +411 -0
- package/skills/scientific/treatment-plans/references/intervention_guidelines.md +507 -0
- package/skills/scientific/treatment-plans/references/regulatory_compliance.md +476 -0
- package/skills/scientific/treatment-plans/references/specialty_specific_guidelines.md +655 -0
- package/skills/scientific/treatment-plans/references/treatment_plan_standards.md +485 -0
- package/skills/scientific/treatment-plans/scripts/check_completeness.py +318 -0
- package/skills/scientific/treatment-plans/scripts/generate_schematic.py +139 -0
- package/skills/scientific/treatment-plans/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/treatment-plans/scripts/generate_template.py +244 -0
- package/skills/scientific/treatment-plans/scripts/timeline_generator.py +369 -0
- package/skills/scientific/treatment-plans/scripts/validate_treatment_plan.py +367 -0
- package/skills/scientific/umap-learn/SKILL.md +477 -0
- package/skills/scientific/umap-learn/references/api_reference.md +532 -0
- package/skills/scientific/usfiscaldata/SKILL.md +159 -0
- package/skills/scientific/usfiscaldata/references/api-basics.md +86 -0
- package/skills/scientific/usfiscaldata/references/datasets-debt.md +163 -0
- package/skills/scientific/usfiscaldata/references/datasets-fiscal.md +196 -0
- package/skills/scientific/usfiscaldata/references/datasets-interest-rates.md +182 -0
- package/skills/scientific/usfiscaldata/references/datasets-securities.md +216 -0
- package/skills/scientific/usfiscaldata/references/examples.md +258 -0
- package/skills/scientific/usfiscaldata/references/parameters.md +155 -0
- package/skills/scientific/usfiscaldata/references/response-format.md +176 -0
- package/skills/scientific/vaex/SKILL.md +180 -0
- package/skills/scientific/vaex/references/core_dataframes.md +367 -0
- package/skills/scientific/vaex/references/data_processing.md +555 -0
- package/skills/scientific/vaex/references/io_operations.md +703 -0
- package/skills/scientific/vaex/references/machine_learning.md +728 -0
- package/skills/scientific/vaex/references/performance.md +571 -0
- package/skills/scientific/vaex/references/visualization.md +613 -0
- package/skills/scientific/venue-templates/SKILL.md +687 -0
- package/skills/scientific/venue-templates/assets/examples/cell_summary_example.md +247 -0
- package/skills/scientific/venue-templates/assets/examples/medical_structured_abstract.md +313 -0
- package/skills/scientific/venue-templates/assets/examples/nature_abstract_examples.md +213 -0
- package/skills/scientific/venue-templates/assets/examples/neurips_introduction_example.md +245 -0
- package/skills/scientific/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
- package/skills/scientific/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-harv.bst +1598 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-num-names.bst +1535 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-num.bst +1509 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-template-harv.tex +286 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-template-num-names.tex +284 -0
- package/skills/scientific/venue-templates/assets/journals/elsarticle-template-num.tex +286 -0
- package/skills/scientific/venue-templates/assets/journals/nature_article.tex +171 -0
- package/skills/scientific/venue-templates/assets/journals/neurips_article.tex +283 -0
- package/skills/scientific/venue-templates/assets/journals/plos_one.tex +317 -0
- package/skills/scientific/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
- package/skills/scientific/venue-templates/references/cell_press_style.md +483 -0
- package/skills/scientific/venue-templates/references/conferences_formatting.md +564 -0
- package/skills/scientific/venue-templates/references/cs_conference_style.md +463 -0
- package/skills/scientific/venue-templates/references/grants_requirements.md +787 -0
- package/skills/scientific/venue-templates/references/journals_formatting.md +508 -0
- package/skills/scientific/venue-templates/references/medical_journal_styles.md +535 -0
- package/skills/scientific/venue-templates/references/ml_conference_style.md +556 -0
- package/skills/scientific/venue-templates/references/nature_science_style.md +405 -0
- package/skills/scientific/venue-templates/references/posters_guidelines.md +628 -0
- package/skills/scientific/venue-templates/references/reviewer_expectations.md +417 -0
- package/skills/scientific/venue-templates/references/venue_writing_styles.md +321 -0
- package/skills/scientific/venue-templates/scripts/customize_template.py +206 -0
- package/skills/scientific/venue-templates/scripts/generate_schematic.py +139 -0
- package/skills/scientific/venue-templates/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/venue-templates/scripts/query_template.py +260 -0
- package/skills/scientific/venue-templates/scripts/validate_format.py +255 -0
- package/skills/scientific/what-if-oracle/SKILL.md +168 -0
- package/skills/scientific/what-if-oracle/references/scenario-templates.md +137 -0
- package/skills/scientific/xlsx/LICENSE.txt +30 -0
- package/skills/scientific/xlsx/SKILL.md +292 -0
- package/skills/scientific/xlsx/scripts/office/helpers/__init__.py +0 -0
- package/skills/scientific/xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/skills/scientific/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/skills/scientific/xlsx/scripts/office/pack.py +159 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/scientific/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/scientific/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/scientific/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/scientific/xlsx/scripts/office/soffice.py +183 -0
- package/skills/scientific/xlsx/scripts/office/unpack.py +132 -0
- package/skills/scientific/xlsx/scripts/office/validate.py +111 -0
- package/skills/scientific/xlsx/scripts/office/validators/__init__.py +15 -0
- package/skills/scientific/xlsx/scripts/office/validators/base.py +847 -0
- package/skills/scientific/xlsx/scripts/office/validators/docx.py +446 -0
- package/skills/scientific/xlsx/scripts/office/validators/pptx.py +275 -0
- package/skills/scientific/xlsx/scripts/office/validators/redlining.py +247 -0
- package/skills/scientific/xlsx/scripts/recalc.py +184 -0
- package/skills/scientific/zarr-python/SKILL.md +777 -0
- package/skills/scientific/zarr-python/references/api_reference.md +515 -0
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
# cuCIM Reference
|
|
2
|
+
|
|
3
|
+
cuCIM (CUDA Clara IMage) is NVIDIA's GPU-accelerated computer vision and image processing library within the RAPIDS ecosystem. Its `cucim.skimage` module is a near-drop-in GPU replacement for scikit-image, with 200+ GPU-accelerated functions. It also provides a high-performance whole-slide image (WSI) reader via `cucim.clara.CuImage` that is 5-6x faster than OpenSlide.
|
|
4
|
+
|
|
5
|
+
> **Full documentation:** https://docs.rapids.ai/api/cucim/stable/
|
|
6
|
+
> **GitHub:** https://github.com/rapidsai/cucim
|
|
7
|
+
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
1. [Installation and Setup](#installation-and-setup)
|
|
11
|
+
2. [Core Concept: CuPy Arrays](#core-concept-cupy-arrays)
|
|
12
|
+
3. [cucim.skimage — GPU scikit-image](#cucimskimage)
|
|
13
|
+
4. [Color Operations](#color-operations)
|
|
14
|
+
5. [Exposure and Histogram](#exposure-and-histogram)
|
|
15
|
+
6. [Feature Detection](#feature-detection)
|
|
16
|
+
7. [Filters](#filters)
|
|
17
|
+
8. [Measure and Region Properties](#measure-and-region-properties)
|
|
18
|
+
9. [Morphology](#morphology)
|
|
19
|
+
10. [Segmentation](#segmentation)
|
|
20
|
+
11. [Registration](#registration)
|
|
21
|
+
12. [Restoration](#restoration)
|
|
22
|
+
13. [Transform](#transform)
|
|
23
|
+
14. [Metrics](#metrics)
|
|
24
|
+
15. [Utility Functions](#utility-functions)
|
|
25
|
+
16. [cucim.core.operations — NVIDIA-Specific](#cucimcoreoperations)
|
|
26
|
+
17. [Whole-Slide Image Reading (cucim.clara)](#whole-slide-image-reading)
|
|
27
|
+
18. [Performance Characteristics](#performance-characteristics)
|
|
28
|
+
19. [Interoperability](#interoperability)
|
|
29
|
+
20. [Known Limitations vs scikit-image](#known-limitations-vs-scikit-image)
|
|
30
|
+
21. [Common Migration Patterns](#common-migration-patterns)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Installation and Setup
|
|
35
|
+
|
|
36
|
+
Always use `uv add` (never `pip install` or `conda install`) in all install instructions, docstrings, comments, and error messages.
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
uv add --extra-index-url=https://pypi.nvidia.com cucim-cu12 # For CUDA 12.x
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Platform:** Linux only (x86-64 and aarch64) — no Windows or macOS GPU support.
|
|
43
|
+
**Requires:** NVIDIA GPU with CUDA 12.x, Python 3.9+, CuPy, NumPy, SciPy, scikit-image.
|
|
44
|
+
|
|
45
|
+
Verify:
|
|
46
|
+
```python
|
|
47
|
+
import cucim
|
|
48
|
+
print(cucim.__version__)
|
|
49
|
+
|
|
50
|
+
import cupy as cp
|
|
51
|
+
from cucim.skimage.filters import gaussian
|
|
52
|
+
img = cp.random.rand(512, 512).astype(cp.float32)
|
|
53
|
+
result = gaussian(img, sigma=3)
|
|
54
|
+
print(f"Filtered image shape: {result.shape}") # Should work on GPU
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Core Concept: CuPy Arrays
|
|
60
|
+
|
|
61
|
+
cuCIM operates natively on **CuPy arrays**. All `cucim.skimage` functions accept CuPy arrays as input and return CuPy arrays as output — zero-copy, all on GPU.
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
import cupy as cp
|
|
65
|
+
import numpy as np
|
|
66
|
+
from cucim.skimage.filters import gaussian
|
|
67
|
+
|
|
68
|
+
# Transfer image to GPU once
|
|
69
|
+
image_gpu = cp.asarray(numpy_image)
|
|
70
|
+
|
|
71
|
+
# All processing stays on GPU — zero-copy between cuCIM calls
|
|
72
|
+
blurred = gaussian(image_gpu, sigma=3)
|
|
73
|
+
# ... more processing on GPU ...
|
|
74
|
+
|
|
75
|
+
# Transfer back to CPU only when needed (for display, save, etc.)
|
|
76
|
+
result_cpu = cp.asnumpy(blurred)
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Best practice:** Move data to GPU once at the start, chain all cuCIM operations on GPU, then transfer back to CPU only at the end.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## cucim.skimage
|
|
84
|
+
|
|
85
|
+
The `cucim.skimage` module mirrors scikit-image's module structure. In most cases, replace `from skimage` with `from cucim.skimage` and pass CuPy arrays instead of NumPy arrays.
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
# Before (CPU — scikit-image)
|
|
89
|
+
from skimage.filters import gaussian
|
|
90
|
+
import numpy as np
|
|
91
|
+
result = gaussian(numpy_image, sigma=3)
|
|
92
|
+
|
|
93
|
+
# After (GPU — cuCIM)
|
|
94
|
+
from cucim.skimage.filters import gaussian
|
|
95
|
+
import cupy as cp
|
|
96
|
+
result = gaussian(cp.asarray(numpy_image), sigma=3)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Color Operations
|
|
102
|
+
|
|
103
|
+
`cucim.skimage.color` — 42 GPU-accelerated color space conversion functions.
|
|
104
|
+
|
|
105
|
+
```python
|
|
106
|
+
from cucim.skimage.color import rgb2gray, rgb2hsv, rgb2lab, label2rgb
|
|
107
|
+
from cucim.skimage.color import separate_stains, combine_stains
|
|
108
|
+
|
|
109
|
+
# Color space conversions
|
|
110
|
+
gray = rgb2gray(rgb_image_gpu)
|
|
111
|
+
hsv = rgb2hsv(rgb_image_gpu)
|
|
112
|
+
lab = rgb2lab(rgb_image_gpu)
|
|
113
|
+
|
|
114
|
+
# Stain separation (for H&E histology)
|
|
115
|
+
stains = separate_stains(rgb_image_gpu, stain_matrix)
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**Available conversions:** `rgb2gray`, `rgb2hsv`, `hsv2rgb`, `rgb2lab`, `lab2rgb`, `rgb2xyz`, `xyz2rgb`, `rgb2luv`, `luv2rgb`, `rgb2ycbcr`, `ycbcr2rgb`, `rgb2yuv`, `yuv2rgb`, `rgb2yiq`, `yiq2rgb`, `rgb2hed`, `hed2rgb`, `rgb2rgbcie`, `rgbcie2rgb`, `gray2rgb`, `gray2rgba`, `rgba2rgb`, `convert_colorspace`, `label2rgb`
|
|
119
|
+
|
|
120
|
+
**Color difference:** `deltaE_cie76`, `deltaE_ciede94`, `deltaE_ciede2000`, `deltaE_cmc`
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Exposure and Histogram
|
|
125
|
+
|
|
126
|
+
`cucim.skimage.exposure` — histogram equalization, contrast adjustment.
|
|
127
|
+
|
|
128
|
+
```python
|
|
129
|
+
from cucim.skimage.exposure import (
|
|
130
|
+
equalize_hist, equalize_adapthist,
|
|
131
|
+
rescale_intensity, adjust_gamma, adjust_log, adjust_sigmoid,
|
|
132
|
+
histogram, match_histograms, is_low_contrast
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
# CLAHE (Contrast Limited Adaptive Histogram Equalization)
|
|
136
|
+
enhanced = equalize_adapthist(image_gpu, clip_limit=0.03)
|
|
137
|
+
|
|
138
|
+
# Gamma correction
|
|
139
|
+
brightened = adjust_gamma(image_gpu, gamma=0.5)
|
|
140
|
+
|
|
141
|
+
# Rescale intensity to [0, 1]
|
|
142
|
+
normalized = rescale_intensity(image_gpu)
|
|
143
|
+
|
|
144
|
+
# Histogram matching between two images
|
|
145
|
+
matched = match_histograms(source_gpu, reference_gpu)
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Feature Detection
|
|
151
|
+
|
|
152
|
+
`cucim.skimage.feature` — edge, corner, and blob detection.
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
from cucim.skimage.feature import (
|
|
156
|
+
canny, corner_harris, corner_peaks,
|
|
157
|
+
blob_dog, blob_doh, blob_log,
|
|
158
|
+
structure_tensor, hessian_matrix, hessian_matrix_det,
|
|
159
|
+
match_template, peak_local_max, daisy, multiscale_basic_features
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
# Canny edge detection
|
|
163
|
+
edges = canny(gray_image_gpu, sigma=2.0)
|
|
164
|
+
|
|
165
|
+
# Harris corner detection
|
|
166
|
+
corners = corner_harris(gray_image_gpu)
|
|
167
|
+
corner_coords = corner_peaks(corners, min_distance=5)
|
|
168
|
+
|
|
169
|
+
# Blob detection (Difference of Gaussian)
|
|
170
|
+
blobs = blob_dog(gray_image_gpu, max_sigma=30, threshold=0.1)
|
|
171
|
+
|
|
172
|
+
# Template matching
|
|
173
|
+
result = match_template(image_gpu, template_gpu)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Filters
|
|
179
|
+
|
|
180
|
+
`cucim.skimage.filters` — 47 GPU-accelerated filter functions. This is one of the most commonly used modules.
|
|
181
|
+
|
|
182
|
+
```python
|
|
183
|
+
from cucim.skimage.filters import (
|
|
184
|
+
gaussian, median, sobel, laplace, unsharp_mask,
|
|
185
|
+
frangi, hessian, meijering, sato,
|
|
186
|
+
threshold_otsu, threshold_multiotsu, threshold_sauvola,
|
|
187
|
+
gabor, difference_of_gaussians, butterworth
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
# Gaussian blur
|
|
191
|
+
blurred = gaussian(image_gpu, sigma=3)
|
|
192
|
+
|
|
193
|
+
# Sobel edge detection
|
|
194
|
+
edges = sobel(gray_image_gpu)
|
|
195
|
+
|
|
196
|
+
# Unsharp mask (sharpening)
|
|
197
|
+
sharpened = unsharp_mask(image_gpu, radius=5, amount=2.0)
|
|
198
|
+
|
|
199
|
+
# Vessel/ridge detection (for medical imaging)
|
|
200
|
+
vessels = frangi(gray_image_gpu, sigmas=range(1, 10))
|
|
201
|
+
|
|
202
|
+
# Otsu thresholding
|
|
203
|
+
threshold = threshold_otsu(gray_image_gpu)
|
|
204
|
+
binary = gray_image_gpu > threshold
|
|
205
|
+
|
|
206
|
+
# Multi-level Otsu
|
|
207
|
+
thresholds = threshold_multiotsu(gray_image_gpu, classes=3)
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Edge detection:** `sobel`, `scharr`, `prewitt`, `roberts`, `farid`, `laplace` (plus `_h`/`_v` variants)
|
|
211
|
+
|
|
212
|
+
**Smoothing:** `gaussian`, `median`, `unsharp_mask`
|
|
213
|
+
|
|
214
|
+
**Ridge/vessel detection:** `frangi`, `hessian`, `meijering`, `sato`
|
|
215
|
+
|
|
216
|
+
**Thresholding (10 methods):** `threshold_otsu`, `threshold_isodata`, `threshold_li`, `threshold_mean`, `threshold_minimum`, `threshold_multiotsu`, `threshold_niblack`, `threshold_sauvola`, `threshold_triangle`, `threshold_yen`
|
|
217
|
+
|
|
218
|
+
**Frequency domain:** `butterworth`, `wiener`
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Measure and Region Properties
|
|
223
|
+
|
|
224
|
+
`cucim.skimage.measure` — labeling, region properties, and shape metrics.
|
|
225
|
+
|
|
226
|
+
```python
|
|
227
|
+
from cucim.skimage.measure import label, regionprops, regionprops_table
|
|
228
|
+
from cucim.skimage.measure import moments, moments_central, moments_hu
|
|
229
|
+
from cucim.skimage.measure import block_reduce, shannon_entropy
|
|
230
|
+
|
|
231
|
+
# Connected component labeling
|
|
232
|
+
labels = label(binary_image_gpu)
|
|
233
|
+
|
|
234
|
+
# Region properties (area, centroid, bounding box, etc.)
|
|
235
|
+
props = regionprops(labels)
|
|
236
|
+
table = regionprops_table(labels, intensity_image=gray_gpu,
|
|
237
|
+
properties=['area', 'centroid', 'mean_intensity'])
|
|
238
|
+
|
|
239
|
+
# Block reduce (downsampling)
|
|
240
|
+
downsampled = block_reduce(image_gpu, block_size=(2, 2), func=cp.mean)
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
**Colocalization metrics** (for microscopy): `manders_coloc_coeff`, `manders_overlap_coeff`, `pearson_corr_coeff`, `intersection_coeff`
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Morphology
|
|
248
|
+
|
|
249
|
+
`cucim.skimage.morphology` — 30 GPU-accelerated morphological operations.
|
|
250
|
+
|
|
251
|
+
```python
|
|
252
|
+
from cucim.skimage.morphology import (
|
|
253
|
+
binary_erosion, binary_dilation, binary_opening, binary_closing,
|
|
254
|
+
erosion, dilation, opening, closing,
|
|
255
|
+
white_tophat, black_tophat,
|
|
256
|
+
disk, diamond, ball, star,
|
|
257
|
+
remove_small_objects, remove_small_holes,
|
|
258
|
+
reconstruction, medial_axis, thin
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
# Create structuring element
|
|
262
|
+
selem = disk(5)
|
|
263
|
+
|
|
264
|
+
# Binary morphological operations
|
|
265
|
+
cleaned = binary_opening(binary_image_gpu, footprint=selem)
|
|
266
|
+
cleaned = binary_closing(cleaned, footprint=selem)
|
|
267
|
+
|
|
268
|
+
# Remove small objects/holes
|
|
269
|
+
cleaned = remove_small_objects(labels_gpu, min_size=100)
|
|
270
|
+
filled = remove_small_holes(binary_gpu, area_threshold=50)
|
|
271
|
+
|
|
272
|
+
# Grayscale morphology
|
|
273
|
+
tophat = white_tophat(gray_image_gpu, footprint=disk(10))
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
**Structuring elements:** `disk`, `diamond`, `ball`, `octagon`, `octahedron`, `star`, `ellipse`, `footprint_rectangle`
|
|
277
|
+
|
|
278
|
+
**Isotropic operations:** `isotropic_erosion`, `isotropic_dilation`, `isotropic_opening`, `isotropic_closing`
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Segmentation
|
|
283
|
+
|
|
284
|
+
`cucim.skimage.segmentation` — level-set methods, boundary detection, label operations.
|
|
285
|
+
|
|
286
|
+
```python
|
|
287
|
+
from cucim.skimage.segmentation import (
|
|
288
|
+
chan_vese, morphological_chan_vese, morphological_geodesic_active_contour,
|
|
289
|
+
find_boundaries, mark_boundaries, clear_border,
|
|
290
|
+
expand_labels, relabel_sequential, random_walker
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
# Chan-Vese segmentation
|
|
294
|
+
segmented = chan_vese(gray_image_gpu, mu=0.25, max_num_iter=200)
|
|
295
|
+
|
|
296
|
+
# Active contours (geodesic)
|
|
297
|
+
gimage = inverse_gaussian_gradient(gray_image_gpu)
|
|
298
|
+
init_ls = checkerboard_level_set(gray_image_gpu.shape)
|
|
299
|
+
seg = morphological_geodesic_active_contour(gimage, num_iter=200, init_level_set=init_ls)
|
|
300
|
+
|
|
301
|
+
# Find and mark boundaries
|
|
302
|
+
boundaries = find_boundaries(labels_gpu, mode='thick')
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Registration
|
|
308
|
+
|
|
309
|
+
`cucim.skimage.registration` — image alignment.
|
|
310
|
+
|
|
311
|
+
```python
|
|
312
|
+
from cucim.skimage.registration import (
|
|
313
|
+
phase_cross_correlation,
|
|
314
|
+
optical_flow_tvl1,
|
|
315
|
+
optical_flow_ilk
|
|
316
|
+
)
|
|
317
|
+
|
|
318
|
+
# Subpixel image registration
|
|
319
|
+
shift, error, diffphase = phase_cross_correlation(reference_gpu, moving_gpu)
|
|
320
|
+
|
|
321
|
+
# Optical flow
|
|
322
|
+
flow = optical_flow_tvl1(frame1_gpu, frame2_gpu)
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Restoration
|
|
328
|
+
|
|
329
|
+
`cucim.skimage.restoration` — denoising and deconvolution.
|
|
330
|
+
|
|
331
|
+
```python
|
|
332
|
+
from cucim.skimage.restoration import (
|
|
333
|
+
denoise_tv_chambolle,
|
|
334
|
+
richardson_lucy,
|
|
335
|
+
wiener, unsupervised_wiener
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
# Total variation denoising
|
|
339
|
+
denoised = denoise_tv_chambolle(noisy_image_gpu, weight=0.1)
|
|
340
|
+
|
|
341
|
+
# Richardson-Lucy deconvolution
|
|
342
|
+
restored = richardson_lucy(blurred_image_gpu, psf_gpu, num_iter=30)
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Transform
|
|
348
|
+
|
|
349
|
+
`cucim.skimage.transform` — geometric transforms, resizing, pyramids.
|
|
350
|
+
|
|
351
|
+
```python
|
|
352
|
+
from cucim.skimage.transform import (
|
|
353
|
+
resize, rescale, rotate, warp, swirl, warp_polar,
|
|
354
|
+
pyramid_gaussian, pyramid_laplacian,
|
|
355
|
+
downscale_local_mean, integral_image,
|
|
356
|
+
AffineTransform, EuclideanTransform, SimilarityTransform
|
|
357
|
+
)
|
|
358
|
+
|
|
359
|
+
# Resize
|
|
360
|
+
resized = resize(image_gpu, (256, 256))
|
|
361
|
+
|
|
362
|
+
# Rescale
|
|
363
|
+
half = rescale(image_gpu, 0.5)
|
|
364
|
+
|
|
365
|
+
# Rotate
|
|
366
|
+
rotated = rotate(image_gpu, angle=45, resize=True)
|
|
367
|
+
|
|
368
|
+
# Gaussian pyramid
|
|
369
|
+
pyramid = list(pyramid_gaussian(image_gpu, max_layer=4, downscale=2))
|
|
370
|
+
|
|
371
|
+
# Affine transform
|
|
372
|
+
tform = AffineTransform(rotation=0.3, translation=(50, 50))
|
|
373
|
+
warped = warp(image_gpu, tform.inverse)
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## Metrics
|
|
379
|
+
|
|
380
|
+
`cucim.skimage.metrics` — image quality assessment.
|
|
381
|
+
|
|
382
|
+
```python
|
|
383
|
+
from cucim.skimage.metrics import (
|
|
384
|
+
mean_squared_error,
|
|
385
|
+
peak_signal_noise_ratio,
|
|
386
|
+
structural_similarity,
|
|
387
|
+
normalized_root_mse
|
|
388
|
+
)
|
|
389
|
+
|
|
390
|
+
mse = mean_squared_error(original_gpu, processed_gpu)
|
|
391
|
+
psnr = peak_signal_noise_ratio(original_gpu, processed_gpu)
|
|
392
|
+
ssim = structural_similarity(original_gpu, processed_gpu)
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## Utility Functions
|
|
398
|
+
|
|
399
|
+
`cucim.skimage.util` — type conversion, array manipulation.
|
|
400
|
+
|
|
401
|
+
```python
|
|
402
|
+
from cucim.skimage.util import (
|
|
403
|
+
img_as_float, img_as_float32, img_as_ubyte,
|
|
404
|
+
invert, crop, random_noise, montage
|
|
405
|
+
)
|
|
406
|
+
|
|
407
|
+
# Convert to float32 [0, 1]
|
|
408
|
+
float_img = img_as_float32(uint8_image_gpu)
|
|
409
|
+
|
|
410
|
+
# Add noise for testing
|
|
411
|
+
noisy = random_noise(image_gpu, mode='gaussian', var=0.01)
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
## cucim.core.operations
|
|
417
|
+
|
|
418
|
+
NVIDIA-specific operations not found in scikit-image. Especially useful for digital pathology.
|
|
419
|
+
|
|
420
|
+
### Pathology-Specific
|
|
421
|
+
|
|
422
|
+
```python
|
|
423
|
+
from cucim.core.operations.color import (
|
|
424
|
+
color_jitter,
|
|
425
|
+
image_to_absorbance,
|
|
426
|
+
stain_extraction_pca,
|
|
427
|
+
normalize_colors_pca
|
|
428
|
+
)
|
|
429
|
+
|
|
430
|
+
# H&E stain normalization (digital pathology)
|
|
431
|
+
normalized = normalize_colors_pca(he_image_gpu)
|
|
432
|
+
|
|
433
|
+
# Color augmentation
|
|
434
|
+
augmented = color_jitter(image_gpu, brightness=0.2, contrast=0.2, saturation=0.2, hue=0.1)
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
### Intensity Operations
|
|
438
|
+
|
|
439
|
+
```python
|
|
440
|
+
from cucim.core.operations.intensity import normalize_data, scale_intensity_range, zoom
|
|
441
|
+
|
|
442
|
+
normalized = normalize_data(image_gpu)
|
|
443
|
+
scaled = scale_intensity_range(image_gpu, a_min=0, a_max=255, b_min=0.0, b_max=1.0)
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
### Spatial Augmentation
|
|
447
|
+
|
|
448
|
+
```python
|
|
449
|
+
from cucim.core.operations.spatial import image_flip, image_rotate_90, rand_image_flip
|
|
450
|
+
|
|
451
|
+
flipped = image_flip(image_gpu, spatial_axis=1)
|
|
452
|
+
rotated = image_rotate_90(image_gpu, k=1) # 90 degrees
|
|
453
|
+
randomly_flipped = rand_image_flip(image_gpu, prob=0.5)
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
### Distance Transform
|
|
457
|
+
|
|
458
|
+
```python
|
|
459
|
+
from cucim.core.operations.morphology import distance_transform_edt
|
|
460
|
+
|
|
461
|
+
# Exact Euclidean distance transform (faster than scipy.ndimage on GPU)
|
|
462
|
+
distances = distance_transform_edt(binary_image_gpu)
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
## Whole-Slide Image Reading
|
|
468
|
+
|
|
469
|
+
`cucim.clara.CuImage` — high-performance WSI reader, compatible with OpenSlide API, 5-6x faster.
|
|
470
|
+
|
|
471
|
+
```python
|
|
472
|
+
from cucim import CuImage
|
|
473
|
+
|
|
474
|
+
# Open a whole-slide image
|
|
475
|
+
img = CuImage("slide.svs")
|
|
476
|
+
|
|
477
|
+
# Inspect metadata
|
|
478
|
+
print(f"Dimensions: {img.shape}")
|
|
479
|
+
print(f"Resolution levels: {img.resolutions}")
|
|
480
|
+
print(f"Spacing: {img.spacing}")
|
|
481
|
+
|
|
482
|
+
# Read a region (returns a CuImage object)
|
|
483
|
+
region = img.read_region(location=(1000, 2000), size=(256, 256), level=0)
|
|
484
|
+
|
|
485
|
+
# Convert to CuPy array for processing
|
|
486
|
+
import cupy as cp
|
|
487
|
+
tile_gpu = cp.asarray(region)
|
|
488
|
+
|
|
489
|
+
# Process with cucim.skimage
|
|
490
|
+
from cucim.skimage.color import rgb2gray
|
|
491
|
+
gray_tile = rgb2gray(tile_gpu)
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
**Supported formats:** Aperio SVS, Philips TIFF, generic tiled multi-resolution RGB TIFF (JPEG, JPEG2000, LZW, Deflate compression).
|
|
495
|
+
|
|
496
|
+
### Tile Caching
|
|
497
|
+
|
|
498
|
+
```python
|
|
499
|
+
from cucim.clara.cache import ImageCache
|
|
500
|
+
|
|
501
|
+
# Configure tile cache for repeated access patterns
|
|
502
|
+
cache = ImageCache(memory_capacity=2 * 1024**3) # 2 GB cache
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### GPUDirect Storage
|
|
506
|
+
|
|
507
|
+
For large files (2GB+), GPUDirect Storage bypasses CPU memory for 25%+ additional speedup:
|
|
508
|
+
|
|
509
|
+
```python
|
|
510
|
+
from cucim.clara.filesystem import CuFileDriver
|
|
511
|
+
|
|
512
|
+
# Read directly into GPU memory, bypassing CPU
|
|
513
|
+
driver = CuFileDriver(path, flags)
|
|
514
|
+
driver.pread(gpu_buffer, size, offset)
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
## Performance Characteristics
|
|
520
|
+
|
|
521
|
+
**Headline numbers:**
|
|
522
|
+
- Up to **1245x faster** than scikit-image for certain operations on large images
|
|
523
|
+
- **5-6x faster** than OpenSlide for WSI multi-threaded patch reading
|
|
524
|
+
- **25%+ additional speedup** with GPUDirect Storage on 2GB+ files
|
|
525
|
+
|
|
526
|
+
**Scaling behavior:**
|
|
527
|
+
- **4K resolution and above:** GPU parallelism fully utilized, maximum speedups
|
|
528
|
+
- **~1000x1000:** Moderate but measurable speedups for most operations
|
|
529
|
+
- **Below ~512x512:** Diminishing returns; GPU overhead starts to matter
|
|
530
|
+
- **Below ~64x64:** CPU may be faster due to CUDA kernel launch overhead
|
|
531
|
+
|
|
532
|
+
**First-call overhead:** JIT compilation on first kernel execution (cached after). Benchmark on subsequent calls.
|
|
533
|
+
|
|
534
|
+
**Best strategy:** Transfer image to GPU once, chain all processing operations, transfer back once at the end.
|
|
535
|
+
|
|
536
|
+
---
|
|
537
|
+
|
|
538
|
+
## Interoperability
|
|
539
|
+
|
|
540
|
+
- **CuPy:** Native array format. All cucim.skimage functions accept and return CuPy arrays.
|
|
541
|
+
- **NumPy:** Convert with `cp.asarray()` / `cp.asnumpy()`.
|
|
542
|
+
- **PyTorch/TensorFlow:** Zero-copy via DLPack protocol: `torch.as_tensor(cupy_array)` or `torch.from_dlpack(cupy_array)`.
|
|
543
|
+
- **MONAI:** Medical imaging framework with direct cuCIM integration for pathology transforms.
|
|
544
|
+
- **Albumentations:** Can use cuCIM as GPU backend for augmentations.
|
|
545
|
+
- **NVIDIA DALI:** Data loading pipeline integration.
|
|
546
|
+
- **Numba CUDA:** CuPy arrays interoperable with Numba GPU kernels.
|
|
547
|
+
- **cuDF:** Use for tabular operations on `regionprops_table` output.
|
|
548
|
+
|
|
549
|
+
### CPU/GPU Agnostic Code
|
|
550
|
+
|
|
551
|
+
```python
|
|
552
|
+
# Switch between CPU and GPU by changing the array module
|
|
553
|
+
import cupy as cp # or: import numpy as cp
|
|
554
|
+
from cucim.skimage.filters import gaussian # or: from skimage.filters import gaussian
|
|
555
|
+
|
|
556
|
+
result = gaussian(cp.asarray(image), sigma=5)
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
## Known Limitations vs scikit-image
|
|
562
|
+
|
|
563
|
+
1. **Incomplete API coverage:** ~50-66% of scikit-image functions are implemented. Notable gaps include some graph-based segmentation (watershed, SLIC superpixels), some feature descriptors (ORB, BRIEF, HOG), and some restoration methods.
|
|
564
|
+
|
|
565
|
+
2. **Linux only.** No Windows or macOS GPU support.
|
|
566
|
+
|
|
567
|
+
3. **NVIDIA GPU required.** No AMD/Intel GPU support.
|
|
568
|
+
|
|
569
|
+
4. **Data must be explicitly moved to GPU.** cuCIM does not auto-transfer; you must call `cp.asarray()`.
|
|
570
|
+
|
|
571
|
+
5. **Small image penalty.** Images below ~512x512 may not benefit. Below ~64x64, CPU is likely faster.
|
|
572
|
+
|
|
573
|
+
6. **GPU memory constraints.** Very large images must be tiled. GPU memory is typically smaller than system RAM.
|
|
574
|
+
|
|
575
|
+
7. **WSI format support is limited.** Supports TIFF/SVS/Philips TIFF only. DICOM, NIFTI, Zarr not yet in stable release.
|
|
576
|
+
|
|
577
|
+
8. **JIT compilation overhead** on first call per session (cached thereafter).
|
|
578
|
+
|
|
579
|
+
---
|
|
580
|
+
|
|
581
|
+
## Common Migration Patterns
|
|
582
|
+
|
|
583
|
+
### Pattern 1: Direct scikit-image Replacement
|
|
584
|
+
|
|
585
|
+
```python
|
|
586
|
+
# Before (CPU)
|
|
587
|
+
from skimage.filters import gaussian, sobel, threshold_otsu
|
|
588
|
+
from skimage.morphology import binary_opening, disk
|
|
589
|
+
from skimage.measure import label, regionprops_table
|
|
590
|
+
import numpy as np
|
|
591
|
+
|
|
592
|
+
image = np.array(...) # Load image
|
|
593
|
+
blurred = gaussian(image, sigma=3)
|
|
594
|
+
edges = sobel(blurred)
|
|
595
|
+
binary = blurred > threshold_otsu(blurred)
|
|
596
|
+
cleaned = binary_opening(binary, footprint=disk(3))
|
|
597
|
+
labels = label(cleaned)
|
|
598
|
+
props = regionprops_table(labels, image, properties=['area', 'centroid'])
|
|
599
|
+
|
|
600
|
+
# After (GPU) — change imports, wrap input with cp.asarray
|
|
601
|
+
from cucim.skimage.filters import gaussian, sobel, threshold_otsu
|
|
602
|
+
from cucim.skimage.morphology import binary_opening, disk
|
|
603
|
+
from cucim.skimage.measure import label, regionprops_table
|
|
604
|
+
import cupy as cp
|
|
605
|
+
|
|
606
|
+
image_gpu = cp.asarray(image) # Transfer once
|
|
607
|
+
blurred = gaussian(image_gpu, sigma=3)
|
|
608
|
+
edges = sobel(blurred)
|
|
609
|
+
binary = blurred > threshold_otsu(blurred)
|
|
610
|
+
cleaned = binary_opening(binary, footprint=disk(3))
|
|
611
|
+
labels = label(cleaned)
|
|
612
|
+
props = regionprops_table(labels, image_gpu, properties=['area', 'centroid'])
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
### Pattern 2: Digital Pathology Pipeline
|
|
616
|
+
|
|
617
|
+
```python
|
|
618
|
+
from cucim import CuImage
|
|
619
|
+
from cucim.skimage.color import rgb2gray, separate_stains
|
|
620
|
+
from cucim.skimage.filters import threshold_otsu
|
|
621
|
+
from cucim.skimage.morphology import binary_opening, remove_small_objects, disk
|
|
622
|
+
from cucim.skimage.measure import label, regionprops_table
|
|
623
|
+
from cucim.core.operations.color import normalize_colors_pca
|
|
624
|
+
import cupy as cp
|
|
625
|
+
|
|
626
|
+
# Read whole-slide image tile
|
|
627
|
+
slide = CuImage("tissue.svs")
|
|
628
|
+
tile = cp.asarray(slide.read_region(location=(1000, 2000), size=(512, 512), level=0))
|
|
629
|
+
|
|
630
|
+
# Normalize staining
|
|
631
|
+
normalized = normalize_colors_pca(tile)
|
|
632
|
+
|
|
633
|
+
# Segment nuclei
|
|
634
|
+
gray = rgb2gray(normalized)
|
|
635
|
+
binary = gray < threshold_otsu(gray)
|
|
636
|
+
cleaned = binary_opening(binary, footprint=disk(2))
|
|
637
|
+
cleaned = remove_small_objects(label(cleaned), min_size=50)
|
|
638
|
+
labels = label(cleaned)
|
|
639
|
+
|
|
640
|
+
# Extract properties
|
|
641
|
+
props = regionprops_table(labels, gray, properties=['area', 'centroid', 'mean_intensity'])
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
### Pattern 3: Deep Learning Preprocessing Pipeline
|
|
645
|
+
|
|
646
|
+
```python
|
|
647
|
+
import cupy as cp
|
|
648
|
+
from cucim.skimage.transform import resize
|
|
649
|
+
from cucim.skimage.exposure import equalize_adapthist
|
|
650
|
+
from cucim.skimage.util import img_as_float32
|
|
651
|
+
from cucim.core.operations.spatial import rand_image_flip
|
|
652
|
+
from cucim.core.operations.color import color_jitter
|
|
653
|
+
import torch
|
|
654
|
+
|
|
655
|
+
# Load batch of images to GPU
|
|
656
|
+
images_gpu = cp.asarray(numpy_batch) # (N, H, W, C)
|
|
657
|
+
|
|
658
|
+
# Process each image on GPU
|
|
659
|
+
processed = []
|
|
660
|
+
for img in images_gpu:
|
|
661
|
+
img = img_as_float32(img)
|
|
662
|
+
img = resize(img, (224, 224))
|
|
663
|
+
img = equalize_adapthist(img)
|
|
664
|
+
img = rand_image_flip(img, prob=0.5)
|
|
665
|
+
img = color_jitter(img, brightness=0.2, contrast=0.2)
|
|
666
|
+
processed.append(img)
|
|
667
|
+
|
|
668
|
+
batch_gpu = cp.stack(processed)
|
|
669
|
+
|
|
670
|
+
# Zero-copy to PyTorch for model inference
|
|
671
|
+
batch_torch = torch.as_tensor(batch_gpu).permute(0, 3, 1, 2) # NHWC → NCHW
|
|
672
|
+
```
|