Spectral data for "Characterizing the Time Variability of 2M1207 A+b with JWST NIRSpec/PRISM"
收藏资源简介:
The reduced spectral time series used for the core analysis of the publication "Characterizing the Time Variability of 2M1207 A+b with JWST NIRSpec/PRISM" (arXiv: 2509.13544). The data format is a netcdf file containing an xarray datatree.Here is an example script in Python to open the file and obtain each object's dataset: from pathlib import Path import xarray as xr if xr.__version__ < "2024.10.0": raise Exception("This example requires xarray >= 2024.10.0 for datatree support.") current_directory: Path = Path(__file__).parent datatree_filepath: Path = current_directory / "2M1207_spectra_datatree.nc" spectral_data_for_2M1207: xr.DataTree = xr.open_datatree(datatree_filepath) primary_dataset: xr.Dataset = spectral_data_for_2M1207["science"]["2M1207A"].to_dataset() secondary_dataset: xr.Dataset = spectral_data_for_2M1207["science"]["2M1207b"].to_dataset() background_region_1_dataset: xr.Dataset = spectral_data_for_2M1207["background"]["background_region_1"].to_dataset()



