Skip to content

Commit

Permalink
change the limit of pulses on Light Curves (from 16 to 10)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaldorusso committed Mar 4, 2015
1 parent 545a8df commit c0f7092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyPAM/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ def raw_extract(arq):

# FIXME Insert some functionalities to exclude
# duplicate measures
curves = [l for l in dicts[1:] if len(l['No']) >= 16]
curves = [l for l in dicts[1:] if len(l['No']) >= 10]

pulses = []
for k in dicts[1:]:
if k['No']:
if len(k['No']) < 16:
if len(k['No']) < 10:
if len(k['No']) <= 7:
pulses.append(k)

Expand Down

0 comments on commit c0f7092

Please sign in to comment.