radis.io.npy module

Created on Thu Aug 13 14:51:22 2020.

@author: erwan

npy2df(keywords, verbose=True)[source]

Convert a dictionary of Numpy arrays storing spectroscopic information to a Pandas dataframe.

Parameters

keywords (dict) –

npy2df({‘wav’:’PATH/TO/v0.npy’,

‘int’:’PATH/TO/int.npy’, ‘Pshft’:’PATH/TO/int.npy’, ‘log_2gs’:’PATH/TO/log_2gs.npy’ ‘Tdpair’:’PATH/TO/Tdpair.npy’, ‘El’:’PATH/TO/Tdpair.npy’}

Examples

npy2df({'wav':'PATH/TO/v0.npy',
  'int':'PATH/TO/int.npy',
  'Pshft':'PATH/TO/int.npy',
  'log_2gs':'PATH/TO/log_2gs.npy'
  'Tdpair':'PATH/TO/Tdpair.npy',
  'El':'PATH/TO/Tdpair.npy'}

See definitions for instance in column_2004