Skip to content

Commit

Permalink
analysis.composite_indv_detect: Use os.path.join (iss #21)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Feb 9, 2020
1 parent 3fa2c71 commit 1667313
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Metallicity_Stack_Commons/analysis/composite_indv_detect.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from os.path import join

from astropy.io import ascii as asc
from astropy.table import vstack
from astropy.table import Table
Expand All @@ -24,10 +26,11 @@ def main(fitspath, dataset, composite_file):
composite_table = asc.read(composite_file)
ID = composite_table['ID'].data

det3_table = asc.read(fitspath + 'get_det3_table2.tbl')
bin_table = asc.read(fitspath + dataset + '_2d_binning_datadet3.tbl')
average_table = asc.read(fitspath + dataset + '_Average_R23_O32_Values.tbl')
stack_table = asc.read(fitspath + dataset + '_temperatures_metalicity.tbl')
# Read in tables containing line ratios, bins, etc.
det3_table = asc.read(join(fitspath, 'get_det3_table2.tbl'))
bin_table = asc.read(join(fitspath, dataset+'_2d_binning_datadet3.tbl'))
average_table = asc.read(join(fitspath, dataset+'_Average_R23_O32_Values.tbl'))
stack_table = asc.read(join(fitspath, dataset+'_temperatures_metallicity.tbl'))


def run_ind_detection(fitspath, dataset, average_value_ascii):
Expand Down

0 comments on commit 1667313

Please sign in to comment.