Activity for Mike Keith

  • Mike Keith Mike Keith committed [a81f7f] on Code

    Catch another case where object reference isn't tracked

  • Mike Keith Mike Keith posted a comment on ticket #495

    Right - I agree that it should work, but I checked the swig generated wrap_psrchive.cxx file and it really just never made the call. Checking a few other calls to constructors it also seemed missing. It does appear in the "factory methods" like load_Archive() etc. I don't think it's a change in swig though as I'm pretty sure it failed with one built using an old swig version. Anyway at least our immediate issue is solved (i.e. we can run our pipelines again) but for sure it would be good to solve...

  • Mike Keith Mike Keith modified ticket #495

    ProfileShiftFit segfaults from python interface (or external code)

  • Mike Keith Mike Keith posted a comment on ticket #495

    Surprisingly, the reference tracking feature already exists in the python interface, but it doesn't track the reference to all objects. Explicitly telling it to track ProfileShiftFit fixes the immediate bug, though likely other objects also need to be explicitly tracked. Fixed in 209acda05

  • Mike Keith Mike Keith committed [209acd] on Code

    Fix for bug #495

  • Mike Keith Mike Keith modified ticket #495

    ProfileShiftFit segfaults from python interface (or external code)

  • Mike Keith Mike Keith created ticket #495

    ProfileShiftFit segfaults from python interface (or external code)

  • Mike Keith Mike Keith posted a comment on ticket #104

    Just trying to work out how serious this is in terms of reprocessing large volumes of data for the MeerTime TPA. Can anyone say if this only affects in the frequency direction or might the delays also change with time - e.g. is it possible that different subints will have different offsets. Obviously if there is something that changes from pulse-to-pulse in the single-pulse data then it is more serious than if it's just that the dedispersion is wonky +/- 1 bin. (though probably we should reprocess...

  • Mike Keith Mike Keith posted a comment on ticket #471

    So the FrontendCorrection is important if anyone wants to calibrate data using the python interface. We use it in the meertime singlepulse pipeline, but really I think it is widely needed. However, I think the most important thing is to be able to call the calibrate(Archive) method, as this is what actually applies the calibration. The python interface is a bit of a mess as it is developed piecemeal, so for sure I have no objection to just removing functions that return a Jones object. Probably someone...

  • Mike Keith Mike Keith modified ticket #473

    remove_chan crashes thinking there are zero subints and changes channel number before loading data

  • Mike Keith Mike Keith posted a comment on ticket #473

    I have made the committed the change in d2c905bef6e72c40be00d84a3f9e630f371b33d2. It fixes the bug in the python code, and nothing amazingly bad seemes to have happened...

  • Mike Keith Mike Keith posted a comment on ticket #473

    I haven't tried it, but I guess I could - maybe I will have a look tomorrow. But yeah - my worry is that it will introduce some other bug...

  • Mike Keith Mike Keith created ticket #473

    remove_chan crashes thinking there are zero subints and changes channel number before loading data

  • Mike Keith Mike Keith modified a comment on ticket #457

    Hmmm... the thing is that I have these defined in my config.h for epsic... so it's like it is getting the wrong config file somehow. /* define if the compiler finds best partial specialization */ #define HAVE_BEST_PARTIAL_SPECIALIZATION /**/ /* define if partial specialization accepts default template arg */ #define HAVE_DEFAULT_PARTIAL_SPECIALIZATION /**/ EDIT - ah sorry I think I misunderstood the logic - these have to not be defined for it to work I think.

  • Mike Keith Mike Keith posted a comment on ticket #457

    Hmmm... the thing is that I have these defined in my config.h for epsic... so it's like it is getting the wrong config file somehow. /* define if the compiler finds best partial specialization */ #define HAVE_BEST_PARTIAL_SPECIALIZATION /**/ /* define if partial specialization accepts default template arg */ #define HAVE_DEFAULT_PARTIAL_SPECIALIZATION /**/

  • Mike Keith Mike Keith posted a comment on ticket #457

    To partially answer my own question - I could get it to compile by adding #define PROMOTE_TRAITS_SPECIALIZE 1 to Util/epsic/src/util/PromoteTraits.h However, this is an automatically generated file and the logic for why it gets this definition added is not clear to me (seems to depend on #if !defined(HAVE_BEST_PARTIAL_SPECIALIZATION) | !defined(HAVE_DEFAULT_PARTIAL_SPECIALIZATION) Which... well I stoped going down the rabit hole given I was able to compile it. @straten - I hope this might help you...

  • Mike Keith Mike Keith posted a comment on ticket #457

    Did you find a fix for this - I am getting the same issue on macosx with gcc 11.2 as well.

  • Mike Keith Mike Keith modified ticket #453

    Circular dependancies in Utils

  • Mike Keith Mike Keith posted a comment on ticket #453

    Awesome, thanks willem, can confirm that this builds ok now!

  • Mike Keith Mike Keith created ticket #453

    Circular dependancies in Utils

  • Mike Keith Mike Keith posted a comment on ticket #436

    ephio.f has not been changed since 2007, but I'm pretty sure I've seen a similar issue elsewhere. I think it was related to picking up the wrong version of libgfortran relative to the compiler used. This may occur because you've updated your GCC but still somehow linking a system gfortran, but can also occur because of things like anaconda having it's own paralell version of system libraries (such as libgfortran). In fact, I'm pretty sure it was anaconda that was the problem for me as it had a newer...

  • Mike Keith Mike Keith created ticket #435

    Frequency append (e.g. psradd -R) and subint freuqency

  • Mike Keith Mike Keith posted a comment on ticket #86

    For the record - We belive this is due to a calls to the cfitsio routine fits_execute_template which is not thread safe. I have made a patched version of cfitsio that fixes it, but also likely that we don't really need to call fits_execute_template every time we write a file and perhaps it would be better for psrchive to cache a empty psrfits file in memory.

  • Mike Keith Mike Keith posted a comment on ticket #86

    I had the same thought - but copying a .sf file to my laptop and using a locally compiled version of cfitsio with the --enble-reentrant didn't seem to fix it, though I will try with the new module on ozstar. I started debugging on my laptop but it really is not very clear what's going on. The errors are very "random" and seem to be from bits of memory being overwritten (e.g. sometimes it has an array of pointers to dereference but they have 'silly values' like 0x16 - so I think the actual error occurs...

  • Mike Keith Mike Keith modified a comment on ticket #86

    I have done a tiny bit more research into this bug, which still exists as of 0abe673a7566691b527df4ab28e22bb6a3a6dd02. In particular it "goes away" if you Don't use psrfits as an output option, OR Use the -A to append to a single archive. I suspect the issue is that something is not being initialised correctly in the output archiver that is causing a null or invalid pointer to be passed to cfitsio. I'm not sure why single pulses causes it in particular though...

  • Mike Keith Mike Keith posted a comment on ticket #86

    I have done a tiny bit more research into this bug, which still exists as of 0abe673a7566691b527df4ab28e22bb6a3a6dd02. In particular it "goes away" if you Don't use psrfits as an output option, OR Use the -A to append to a single archive. I suspect the issue is that something is not being initialised correctly in the output archiver that is causing a null or invalid pointer to be passed to cfitsio. I'm not sure why single pulses causes it in particular though...

  • Mike Keith Mike Keith created ticket #86

    singlepulse + threads = errors and segfaults

  • Mike Keith Mike Keith posted a comment on ticket #85

    I have an update for this bug. I believe that this is not actually a bug in dspsr, but for future reference and in case someone else has a similar issue here is my current understanding. After some investigation of the code and more carefull looking at the files I have determined that although dspsr does write the same start time to some files, these files also get a large OFFS_SUB in the "subint" header, which puts the start time of bin zero at the correct place. This is caused when the phase of...

  • Mike Keith Mike Keith created ticket #85

    single pulse - incorrect start time in output headers

  • Mike Keith Mike Keith posted a comment on ticket #379

    Hello. Not much to go on, but I'm pretty sure this is unrelated to this 2012 bug regarding telescope site codes. Your bug seems to be tempo2 crashing when trying to make a predictor from your pulsar in dspsr. I would suggest to manually run the tempo2 command on your ephemeris (replace pulsar.par with your ephemeris) to see if any errors are thrown, and if that works ok, check the directories in /tmp to verify that the ephemeris and stuff there makes sense. If you can't resolve the issue, this should...

  • Mike Keith Mike Keith committed [1e36de]

    Match frequency channels when applying ManualPolnCalibrator

  • Mike Keith Mike Keith committed [89af80]

    Python fixes and additions

  • Mike Keith Mike Keith posted a comment on ticket #426

    I can confirm that this fix works! Thanks Willem.

  • Mike Keith Mike Keith created ticket #426

    psrplot preprocessing does not work with overlay

  • Mike Keith Mike Keith committed [eef824]

    Add ROACH backend for digifil

  • Mike Keith Mike Keith committed [622f81]

    Merge commit 'eef82490'

  • Mike Keith Mike Keith committed [d55439]

    Merge branch 'master' of ssh://git.code.sf.net/p/dspsr/code

  • Mike Keith Mike Keith modified a comment on ticket #66

    This is also an issue for me. Still fails to build on MacOSX 10.11 as of 50643a71cdc30081fb9809a79e674ef9e57a3dbf . Rumour has it that this is fixed in the latest version of MacOSX, but I haven't been brave enough to upgrade and break everything else yet.

  • Mike Keith Mike Keith posted a comment on ticket #66

    This is also an issue for me. Still fails to build on MacOSX 11 as of 50643a71cdc30081fb9809a79e674ef9e57a3dbf . Rumour has it that this is fixed in the latest version of MacOSX, but I haven't been brave enough to upgrade and break everything else yet.

  • Mike Keith Mike Keith modified ticket #421

    Converting to psrfits produces unreadable files

  • Mike Keith Mike Keith posted a comment on ticket #421

    Fixed in 61641d. I merged the logic of how to get the reference epoch with the decision to make a temporary hdr_ext object. This seems to have fixed it the main issue, and the files are now readable. I note that there are other parameters that are left undefined in the FITS header when converting from timer archives that might confuse other software later on, but I suspect this is largely unavoidable.

  • Mike Keith Mike Keith committed [61641d]

    Fix for bug #421.

  • Mike Keith Mike Keith committed [b68947]

    Added some extra logic to correctly label JBO data

  • Mike Keith Mike Keith posted a comment on ticket #421

    I believe that this bug is caused from the fix to bug #420. In particular, in FITSArchive.C hdr_ext is now always created with dummy values, but later on in the code (around line 1008) it assumes that if a hdr_ext exists then the reference epoch can be read from that header so it never calls the routines that set the reference epoch when the header is blank. I think this could be fixed by setting the start time in the temporary hdr_ext object when it is created.

  • Mike Keith Mike Keith posted a comment on ticket #421

    The problem is that the STT parameters are set to zero in the bad file. STT_IMJD= 0 / Start MJD (UTC days) (J - long integer) STT_SMJD= 0 / [s] Start time (sec past UTC 00h) (J) STT_OFFS= 0. / [s] Start time offset (D) STT_LST = 0. / [s] Start LST (D) END c.f. good file: STT_IMJD= 58250 / Start MJD (UTC days) (J - long integer) STT_SMJD= 50838 / [s] Start time (sec past UTC 00h) (J) STT_OFFS= 0.000725930702174082 / [s] Start time offset (D) STT_LST = '* ' / [s] Start LST (D) END

  • Mike Keith Mike Keith created ticket #421

    Converting to psrfits produces unreadable files

  • Mike Keith Mike Keith committed [df48af]

    Merge branch 'psrfits-6.0'

  • Mike Keith Mike Keith created ticket #414

    Fails to compile after redefinition of long long in psrfitsio.h

  • Mike Keith Mike Keith committed [7e07ac]

    Link with openmp flags

  • Mike Keith Mike Keith committed [2f3591]

    *** empty log message ***

  • Mike Keith Mike Keith committed [27c699]

    *** empty log message ***

  • Mike Keith Mike Keith committed [4f23a2]

    Added CRITICAL checks for the file and block number before trying to write to tape.

  • Mike Keith Mike Keith committed [a900b7]

    Needs AC_PROG_CXX to compile c++ code

  • Mike Keith Mike Keith committed [ec0677]

    Added support for multiple -f options in dada_diskdb

  • Mike Keith Mike Keith committed [86e184]

    Modifying Makefiles so that make dist works.

  • Mike Keith Mike Keith posted a comment on ticket #60

    I have comitted a potential fix for this bug [f6fc0b], though I'm not sure why it was crashing or why the fix works. I don't think that it breaks anything else, so hopefully it's safe to commit.

  • Mike Keith Mike Keith committed [f6fc0b]

    Possible fix for Bug #60 - segfault when using -s

  • Mike Keith Mike Keith posted a comment on ticket #60

    I am also facing this bug. Quite frustrating. Ramesh - did you ever find a solution to this?

  • Mike Keith Mike Keith committed [f8ec50]

    Change to 1 weight per frame

  • Mike Keith Mike Keith committed [cd56b9]

    Tiny fix for single-pol emerlin reader

  • Mike Keith Mike Keith committed [cf8948]

    Fix to allow emerlin reader to read single polsarisation data.

  • Mike Keith Mike Keith committed [e1d644]

    Incorrectly comparing pointer to integer

  • Mike Keith Mike Keith committed [d26917]

    Apparently cstdint is a C++11 extension that is not supported on older compilers.

  • Mike Keith Mike Keith committed [183bda]

    Missing makefile for emerlin data type

  • Mike Keith Mike Keith committed [32ae7e]

    Merge branch 'mjk'

  • Mike Keith Mike Keith committed [a4fae3]

    Correctly deal with end of file for merlin data.

  • Mike Keith Mike Keith committed [3f207f]

    Added emerlin data format reader. Zero weight bad samples.

  • Mike Keith Mike Keith created ticket #66

    fmemopen not in many non-linux systems

  • Mike Keith Mike Keith committed [20fb0f]

    Modernised configure scripts. Added HDF5 for LOFAR

  • Mike Keith Mike Keith committed [bb1b1d]

    Incorrect syntax in makefile for hdf5 libraries

  • Mike Keith Mike Keith committed [8ece45]

    Added hdf5 file that was missing from previous ...

  • Mike Keith Mike Keith committed [99942f]

    Added hdf5 m4 for dspsr (copied)

  • Mike Keith Mike Keith committed [cfc2dc]

    Added JBO MKII telescope

  • Mike Keith Mike Keith committed [08dfd3]

    Merge branch 'master' of ssh://git.code.sf.net/...

  • Mike Keith Mike Keith committed [9c7c05]

    Correct handling of tempo2 aliases file. Allow ...

  • Mike Keith Mike Keith committed [c1bec0]

    Merge branch 'master' of ssh://git.code.sf.net/...

  • Mike Keith Mike Keith committed [938752]

    Updated pdv to use standard routines for L and P

  • Mike Keith Mike Keith committed [a0dda9]

    Use tempo2 for site names if avaliable

  • Mike Keith Mike Keith committed [c583ab]

    Merge branch 'master' of ssh://git.code.sf.net/...

  • Mike Keith Mike Keith committed [998208]

    Fix to allow dspsr to compile with default back...

  • Mike Keith Mike Keith created ticket #58

    Fails to compile when CFITSIO present but no fits in backend list

  • Mike Keith Mike Keith committed [6d6c1f]

    Added options to print unbiased L and P for -t

  • Mike Keith Mike Keith committed [9d786a]

    Moved PhaseFreq and PhaseTime plots so text doe...

  • Mike Keith Mike Keith created ticket #55

    Error with Makefile.am in ./More/

  • Mike Keith Mike Keith committed [164c32]

    Need to make sure to include install_with_githa...

  • Mike Keith Mike Keith committed [ff637d]

    Need range.h in source distribution

1 >
MongoDB Logo MongoDB