mzechmeister / GLS

Generalised Lomb-Scargle periodogram
MIT License
35 stars 5 forks source link

skiprows and delimiter for gls.py #21

Open mzechmeister opened 1 year ago

mzechmeister commented 1 year ago

As discussed in https://github.com/mzechmeister/viper/issues/39#issuecomment-1409336418, it might be nice to a have options skip_header and delimiter to handle csv files. np.genfromtxt, called in https://github.com/mzechmeister/GLS/blob/97209080065fc53549fc9781cbdc652e3acaf2b7/python/gls.py#L178 uses these argument names (skiprows in np.loadtxt).

The javascript version already allows this.