create_survey#
- radiosim.survey.create_survey(grid, conf)[source]#
Creates a clean survey with all its components written in a list. It contains serveral classes: - jets - gaussian - pointsources
- Parameters:
- grid: 4darray
input grid of shape [n, 3, img_size, img_size]
- conf:
loaded config file
- Returns:
- survey: ndarray
image of the survey, sum over all sources, shape: [n, 1, img_size, img_size]
- class_survey: ndarray
images of each class and background class, shape: [n, c + 1, img_size, img_size] with c being the max number of classes.
- source_lists: ndarray
array which stores all properties of each component, shape: [n, 1, 6] for each image the class label and its properties.