db_io#
Tools and methods for connecting the database and loading data.
The primary user facing elements of the db_io module are the
AstroDB and the load_astrosample(). AstroDB allows
users to connect to the databases and builds an ORM mapping for the connected
databases. load_astrosample() enables loading the data from a sample
into the spatialdata framework.
db_io Classes#
This is the base class for connecting to the AstroPath databases. |
|
Connect directly to an AstroPath SQL Server database to write tables. |
db_io Functions#
|
Create parquet files for the cells boundaries in the samples. |
|
Create parquet files for the cells nuclei in the samples. |
|
Create parquet files for the cells in the samples. |
|
Create parquet files for the cells positions in the samples. |
|
Load sample data into the |
db_io Module Reference#
Utilities for querying parts of the database related to samples. |
|
Builds the AstroDB. |
|
Internal credential resolution, SciScript session activation, and keyring persistence. |
|
Basic database utilities for setting up and launching queries. |
|
Methods to load AstroPath sample data into the |
|
Creates subclasses of sqlalchemy constructs. |