File size: 767 Bytes
9f29b8f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
import importlib
import pyhxexpress.hxex as hxex
import numpy as np, pandas as pd
#pd.set_option('display.max_columns',None)
#%pip install tensorflow==2.13.0
# import tensorflow as tf
# from keras.models import load_model
#import config  
#import hdxms_params_22Dec2023 as config
#import test_config as config
import config_fimh as config

def hxex_reload():
    importlib.reload(hxex)
    importlib.reload(config)
    hxex.config = config

hxex_reload()
#help(hxex)



hxex.config.Output_DIR = os.path.join(hxex.config.Data_DIR,'hdxms_analysis_'+str(config.date))
if not os.path.exists(hxex.config.Output_DIR): os.makedirs(hxex.config.Output_DIR)
print("saving output to ",hxex.config.Output_DIR)
    
metadf = hxex.get_metadf()

hxex.run_hdx_fits(metadf)