Skip to content

Commit

Permalink
Merge remote-tracking branch 'nik/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivh committed Feb 1, 2024
2 parents bcf81ea + 41ddcd7 commit de8f44d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/harps_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
2 changes: 1 addition & 1 deletion examples/harps_gridsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
2 changes: 1 addition & 1 deletion examples/jwst_niriss_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion examples/mcdonald_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
18 changes: 9 additions & 9 deletions examples/uves_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@
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
# Expected Folder Structure: base_dir/datasets/HD132205/*.fits.gz
# 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}"

Expand Down
2 changes: 1 addition & 1 deletion examples/xshooter_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit de8f44d

Please sign in to comment.