blur_datacube: A function for applying seeing conditions to the mock cube

View source: R/blur_datacube.R

blur_datacubeR Documentation

A function for applying seeing conditions to the mock cube

Description

The purpose of this function is to apply a convolution kernel to each spatial plane of the cube produced in build_datacube.

Usage

blur_datacube(datacube_output)

Arguments

datacube_output

The list output from build_datacube.

Value

Returns a new list that contains the spectral cube produced by build_datacube, but with the seeing conditions applied.

Examples

ss_gadget = system.file("extdata", "SimSpin_example_Gadget_spectra.Rdata",
                        package = "SimSpin")
cube = build_datacube(simspin_file = ss_gadget,
                     telescope = telescope(type="SAMI"),
                     observing_strategy = observing_strategy())
blurred_cube = blur_datacube(datacube_output = cube)


kateharborne/SimSpin documentation built on April 28, 2024, 2 p.m.