njcuk9999 / lbl

Line by line code for radial velocity
MIT License
17 stars 3 forks source link

LBL on CARMENES data #57

Open HkmMerwan opened 6 days ago

HkmMerwan commented 6 days ago

Hello, I tried to compute the LBL algorithm on various spectra from the CARMENES data release but they seem to mostly be failing

GL251 GL382 GL725B GL880 GL905

Below is the latest wrap I used to launch the LBL on GL251 data. I also attached the log of the LBL compute function, everything appears to be working fine on the surface and the LBL converges in less than 3 or 4 iterations. LOG-2024-11-12-lbl_compute.log

Thank you for your help! Merwan

`rparams = dict()

rparams['INSTRUMENT'] = 'CARMENES' rparams['DATA_SOURCE'] = 'None' rparams['DATA_DIR'] = cwd + '/lbl/' rparams['DATA_TYPES'] = ['SCIENCE'] rparams['OBJECT_SCIENCE'] = [target] rparams['OBJECT_TEMPLATE'] = [target] rparams['OBJECT_TEFF'] = [3420] rparams['BLAZE_FILE'] = 'carmenes_dummy_blaze.fits' rparams['RUN_LBL_TELLUCLEAN'] = True rparams['RUN_LBL_TEMPLATE'] = True rparams['RUN_LBL_MASK'] = True rparams['RUN_LBL_COMPUTE'] = True rparams['RUN_LBL_COMPILE'] = True rparams['SKIP_LBL_TELLUCLEAN'] = False rparams['SKIP_LBL_TEMPLATE'] = False rparams['SKIP_LBL_MASK'] = False rparams['SKIP_LBL_COMPUTE'] = True rparams['SKIP_LBL_COMPILE'] = True

lbl_wrap(rparams)`

njcuk9999 commented 6 days ago

That log comes from v0.59 (over a year old)

__version__: str = '0.59.0'
__date__: str = '2023-07-04'

Can you try using v0.64 (git pull on the main branch), no one is going to try to debug a version that old!

HkmMerwan commented 4 days ago

Hello, thank you for your response.

Thanks for pointing out that my version was outdated. I’ve redone the computations with the latest version, but sadly, the issue remains: the RVs are more scattered and less precise with LBL compared to the CARMENES reduction.

GL251 GL382 GL725B GL880 GL905

Below is the latest log of LBL_COMPUTE applied on GL251

LOG-2024-11-16-lbl_compute.log

Thank you for your help, Merwan