Menu

#97 wich pulsar package contains psrinfo

version_1.0
closed
nobody
None
1
2022-03-01
2022-02-20
No

Running DSPSR I got the following error.

bash-4.4$ dspsr 1644-4559.raw
sh: psrinfo: command not found

Error::stack
Pulsar::Parameters::Lookup::operator()
Pulsar::Parameters::Lookup::operator()system (psrinfo -e 1644-4559)
Error::FailedSys

Discussion

  • Andrew Jameson

    Andrew Jameson - 2022-02-20

    Hi Jānis,

    I believe this is because you have not installed psrcat prior to installing psrchive. Please check your psrchive installation, and use the packages/psrcat.csh script included in psrchive. Then you will need to configure and install psrchive, and then configuration and install dspsr.

     
    • Jānis Šteinbergs

      Hi Andrew!

      Thanks for your help. Your solution worked!
      But now I have a different problem.

      dspsr B1919+21.00.0000_raw -A -D 12.44 -c 1.337302 -L 10 -O B1919+21._raw.ar.ar
      ASCIIObservation: failed read HDR_VERSION
      dspsr: Single archive with multiple sub-integrations
      dspsr: dedispersion filter length=16384 (minimum=2048) complex samples
      dspsr: convolution requires at least 16384 samples
      dspsr: blocksize=6710884 samples or 256 MB
      itoa_code no alias found for Irbene
      dsp::Archiver::finish archive 'B1919+21._raw.ar.ar.ar' with 2 integrations
      itoa_code no alias found for Irbene

      I am using data recorded at LOFAR station LV614, which could explain itoa_code no alias found for Irbene

      But what is causing this "ASCIIObservation: failed read HDR_VERSION"?
      About this "dedispersion filter length=16384 (minimum=2048) complex samples"
      I understand I need longer observation. What is the minimum length for observation?

       
  • Willem van Straten

    • status: open --> closed
     
  • Willem van Straten

    Hi Jānis,

    "ASCIIObservation: failed read HDR_VERSION" is a warning that can be ignored, but can also be made to go away by added "HDR_VERSION 1.0" to the ASCII header of your raw data file.

    "dedispersion filter length=16384 (minimum=2048) complex samples" is for your information only. It's saying that dspsr chose an optimal FFT length of 16k, but it could do FFTs as small as 2k.

    I suppose that the minimum observation length is one FFT (16k samples) ... I've never tried testing this limit!

    Cheers,
    Willem

     

Log in to post a comment.

MongoDB Logo MongoDB