IDL

SALAT_READ

Reads in a SALSA level4 FITS cubes and provides information about the cube's dimension and other parameters stored as extensions, such as arrays of observing time, beam's size and angle.

IDL> alma = salat_read(cube, header=header, time=time, beam_major=beam_major, beam_minor=beam_minor, beam_angle=beam_angle)

SALAT_READ_HEADER

Reads in a SALSA level4 FITS cubes and outputs selected important header's parameters with meaningful names as a structure.

IDL> alma_header = salat_read_header(cube)

SALAT_STATS

Reads in a SALSA level4 FITS cubes and outputs basic statistics of the data cube (or a frame) as a structure and print them in terminal (optional). A histogram is also plotted (optional)

IDL> result = salat_stats(cube, /histogram)

SALAT_TIMELINE

Displays a timeline with missing frames and calibration gaps and outputs corresponding info (time indices)

IDL> result = salat_timeline(cube)

SALAT_INFO

Prints some relevant information about the data cube in terminal

IDL> salat_info, cube

SALAT_PLOT_MAP

Plot a map with optional features: color legend, synthesised beam etc. and save images as JPG or PNG files (optional).

IDL> salat_plot_map, cube

SALAT_BEAM_STATS

Print statistics aboout synthesised beam and plot variation of the beam parameters with time.

IDL> salat_beam_stats, cube

SALAT_CONTRAST

Compute and plot "mean intensity" and "rms intensity contrast" of a cube and indicate bad/good frames based on a given threshold. Gaps (due to ALMA calibration routines) are marked with Red dashed lines.

IDL> bestframe = salat_contrast(cube, limit=limit, badframes=badframes, goodframes=goodframes)

SALAT_CONVOLVE_BEAM

Convolve a specified synthetic beam (from an ALMA observations) to a user-provided map (e.g. from a simulation or observations with other instruments)

IDL> convolved_cube = salat_convolve_beam(data, beam)

SALAT_SALSA_TO_CRISPEX

Create a CRISPEX cube from the ALMA fits cube (3D, 4D, or 5D) for quick inspections using the CRISPEX tool

IDL> salat_salsa_to_crispex, cube, savedir=savedir

SALAT_PREP_DATA

Take a standard SALSA level 4 cube and convert it such that it is accepted by external viewers, such as CARTA.

IDL> salat_prep_data, cube, savedir=savedir