Reference/API#

niriss_tools.sed Package#

A subpackage for spatially-resolved SED fitting.

Functions#

bin_and_save(obj_id, out_dir, seg_map, ...)

Rebin and save one object in a segmentation map.

colour_aggregate(orig_images, signal, noise)

Bin pixels to a specified signal/noise ratio.

constrained_adaptive(signal, noise[, ...])

Perform a constrained adaptive binning method to reach a target S/N.

hexbin(x, y, signal, noise[, bin_diameter, ...])

Hexagonally bin data, returning the binned S/N.

permute_axes_subtract(arr[, axis])

Find the difference between all pairs of points.

save_binned_data_arr(bin_labels, data_path, ...)

Create a binned photometric catalogue from a segmentation map.

save_binned_data_fits(bin_labels, out_path, ...)

Create a binned photometric catalogue from a segmentation map.