All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Allow parsing of par file values in "NAME VALUE ERROR" format rather than "NAME VALUE FIT" format for some fold ephemerides inside the PSRFITS files.
- Default behavior of
Archive
'sfitPulses()
now returns all values fromSinglePulse
'sfitPulse()
command. Users can still supply specific indices with thenum
argument tofitPulses()
- Filled out more of
Calibrator
'spacv()
plot with correct labeling and sizing. - Removed numpy warnings from
NaN
s in data array combination - Removed unnecessary reference to
scipy.fftpack
, which is in legacy. - Default behavior of
DynamicSpectrum
'sgetData()
now hasremove_baseline=False
and the internal data array is returned as is. - Improved error handling on loading a PSRFITS file. PyPulse first checks to see if the file exists, then if it fails in
pyfits.open()
, raises an exception noting the problem lies internally there. pypav
script allows for centering of the pulse in the format ofpav
with the-C
flag.SinglePulse
'sUscale()
now normalizes the pulse by default, as per the definition.
- In
Archive
'simshow()
, the y-axis can now be flipped with theflip=True
argument. This allows inverted frequency axes to be turned right-side up. Atitle
argument can now be supplied as well. Archive
'splot()
now takes arguments ofsubint
,pol
, andchan
to specifically select individual profile rather than requiring the data be 1D. By default, these arguments are0
.SinglePulse.getOffpulseRMS()
convenience function added, which callsSinglePulse.getOffpulseNoise()
- Individual phase plot implemented in Calibrator class as
phaseplot()
. This can also be called withplot(mode="phase")
. SinglePulse.component_fitting()
now offers the ability to output to PSRCHIVE's paas text file format for von Mises components.- In
DynamicSpectrum
'sremove_baseline()
command, two flags have been added. By default,ignorezapped=True
and so data with a value ofzapvalue
are ignored. Such dynamic spectra can result from the less-robust generation methods, i.e., not specifying a template shape, thus resulting in a spike of 0.0 values for zapped data. This should be overhauled in the future. - Allow
DynamicSpectrum
'simshow()
to take**kwargs
now. Par
'sgetPM()
function (also used to get the transverse velocity) parsesPMELONG
andPMELAT
.
- The
DMX
class now correctly parses PINT-style.dmx
files with noF1
orF2
columns.
0.1.1 - 2021-06-15
- Fitting errors on the 1D scintillation parameters are now added. This changes the underlying
functionfit
output but this is not part of the public API.
- Converted multiple internal
map
calls to list comprehensions. DynamicSpectrum
now copies colormaps withcopy.copy
to removeMatplotlibDeprecationWarning
- Fixed scrunching and waterfall plot limits due to updates in numpy in the handling of NaNs. In waterfall plot, duplicate calls to set axis limits have been removed.
- Fixed pointers to
np.str
tonp.str_
due to updates in numpy.
0.1.0 - 2021-05-03
- Added CHANGELOG.md following Keep a Changelog.
- Start following SemVer properly.