diff --git a/examples/harps_example.py b/examples/harps_example.py index 2c1c04d2..4936892e 100644 --- a/examples/harps_example.py +++ b/examples/harps_example.py @@ -34,7 +34,7 @@ # Feel free to change this to your own preference, values in curly brackets will be replaced with the actual values {} # load dataset (and save the location) -base_dir = datasets.HARPS("/DATA/PyReduce") +base_dir = datasets.HARPS(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "raw" output_dir = "reduced_{mode}" diff --git a/examples/harps_gridsearch.py b/examples/harps_gridsearch.py index f4ee7e52..39a73929 100644 --- a/examples/harps_gridsearch.py +++ b/examples/harps_gridsearch.py @@ -45,7 +45,7 @@ def func_freq_comb(deg, comb, wave, **kwargs): # Feel free to change this to your own preference, values in curly brackets will be replaced with the actual values {} # load dataset (and save the location) -base_dir = datasets.HARPS("/DATA/PyReduce") +base_dir = datasets.HARPS(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "raw" output_dir = f"reduced_{mode}" diff --git a/examples/jwst_niriss_example.py b/examples/jwst_niriss_example.py index 3a308408..efdc4914 100644 --- a/examples/jwst_niriss_example.py +++ b/examples/jwst_niriss_example.py @@ -31,7 +31,7 @@ # Feel free to change this to your own preference, values in curly brackets will be replaced with the actual values {} # load dataset (and save the location) -base_dir = datasets.JWST_NIRISS("/DATA/PyReduce") +base_dir = datasets.JWST_NIRISS(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "awesimsoss" output_dir = "reduced" diff --git a/examples/mcdonald_example.py b/examples/mcdonald_example.py index b6bca5bf..1c952b2e 100644 --- a/examples/mcdonald_example.py +++ b/examples/mcdonald_example.py @@ -33,7 +33,7 @@ # Feel free to change this to your own preference, values in curly brackets will be replaced with the actual values {} # load dataset (and save the location) -base_dir = datasets.MCDONALD("/DATA/PyReduce") +base_dir = datasets.MCDONALD(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "raw" output_dir = "reduced" diff --git a/examples/uves_example.py b/examples/uves_example.py index 54ec64fd..e31ce60d 100644 --- a/examples/uves_example.py +++ b/examples/uves_example.py @@ -15,15 +15,15 @@ night = "2010-04-01" mode = "middle" steps = ( - # "bias", - # "flat", - # "orders", - # "norm_flat", - # "wavecal", + "bias", + "flat", + "orders", + "norm_flat", + "wavecal", "curvature", - # "science", - # "continuum", - # "finalize", + "science", + "continuum", + "finalize", ) # some basic settings @@ -31,7 +31,7 @@ # Feel free to change this to your own preference, values in curly brackets will be replaced with the actual values {} # load dataset (and save the location) -base_dir = datasets.UVES("/DATA/PyReduce") +base_dir = datasets.UVES(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "raw/" output_dir = "reduced/{night}/{mode}" diff --git a/examples/xshooter_example.py b/examples/xshooter_example.py index 2b11c98a..0cb55ba6 100644 --- a/examples/xshooter_example.py +++ b/examples/xshooter_example.py @@ -34,7 +34,7 @@ # load dataset (and save the location) # change the location (as set in datasets() to some folder of you choice) # or dont pass a path to use the local directory -base_dir = datasets.XSHOOTER("/DATA/PyReduce") +base_dir = datasets.XSHOOTER(os.path.expanduser("~")+"/PyReduce/DATA") input_dir = "raw" output_dir = "reduced"