Custom Query (241 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 241)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#39 wontfix reports illegal unit string for using scantable on multiple files - and a request. Malte Marquarding Erik M.
Description

ASAP> s=scantable("../Data_MPCOR/2006-05-03_2100-M136.rpf","../Data_MPCOR/2006-05-03_2348-M136.rpf","../Data_MPCOR/2006-05-04_0524-M136.rpf") Auto averaging integrations Importing ../Data_MPCOR/2006-05-03_2100-M136.rpf...


Traceback (most recent call last):

File "<console>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 66, in init

self._fill([filename],unit, average)

File "/usr/local/lib/python2.3/site-packages/asap/scantable.py", line 1510, in _fill

self.set_fluxunit(unit)

RuntimeError?: Unit::check Illegal unit string '../Data_MPCOR/2006-05-04_0524-M136.rpf'


The file "../Data_MPCOR/2006-05-04_0524-M136.rpf" contains ok data, I can run scantable on it separately, with success.


I'm not sure of the best way to load in multiple files. At the moment, there is a problem with averaging multiple scans together so I'm using scantable. depending on the limitations, I'd suggest that having a limit of only 4 files is not very useful for those needing to average many files together. I have >10 files that I need to avaerage together, for example.

#167 fixed Spectrum baseline removing: running fit Malte Marquarding EttoreCarretti
Description

To implement spectrum baseline estimate (and removing) by a polynomial running fit.

It is similar to a running median (or running mean), but, for any channel, a polynomial fit is performed over a narrow range of channels centred on the channel itself. The baseline estimate is then the fit evaluated in the position of the channel. Both range width and polynomial degree should be set by the user. The polynomial degree default value could be 2 (quadratic fit) which I usually found very effective in other applications.

I implemented this method for other applications and found it very effective with complex baselines, which otherwise would require high degree polynomials if fit over the whole range with poor performances.

#180 worksforme masks and flagging Malte Marquarding G.Fuller@…
Description

I'm trying to use a mask to flag out all of a spectrum except the region around a line at -250 km/s. So I do this

csp.set_unit("km/s")

plotter.plot(csp) - show a spectrum from -2500 to +500 km/s

mask=csp.create_mask([-500,0])

-- get back message The current mask window unit is km/s - Good

csp.flag(mask=cmask)

plotter.plot(csp) - the spectrum now runs from -2500 km/s to -500 km/s - Not what I expected or want.

Interestingly if I do this instead:

cmask=csp.create_mask([-500,0],invert=True)

csp.flag(mask=cmask)

plotter.plot(csp)

-- now the spectrum is apparently flagged - Definitely not what I expected or want.

Gary

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.