morpheus.data package

Submodules

morpheus.data.example module

Used to fetch data files

morpheus.data.example.get_sample(out_dir: str = None) → List[numpy.ndarray][source]

Retrieves a sample of CANDELS data as an example for classification.

Sample image is taken from the CANDELS 1.0 release. The object in the center is GDS_deep2_3622 from Karaltepe et. al (2015).

Data can be manually downloaded from:

https://drive.google.com/uc?export=download&id=1fFGUVOVMOGLG4ptgAZv0T9Woimr653kn

Parameters:out_dir (str) – if not None the location to save the data at.
Returns:A list of numpy arrays containing the H, J, V, and Z bands in that order

Module contents