Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • LISA Instrument LISA Instrument
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LISA SimulationLISA Simulation
  • LISA InstrumentLISA Instrument
  • Issues
  • #63
Closed
Open
Issue created Dec 06, 2021 by Olaf Hartwig@ohartwigMaintainer

Error when passing dictionary of constant pprs

Passing a dictionary of constant PPRs as inputs for the orbit currently throws an error.

MWE:

mosas = ['12','23','31','13','32','21']
equalorbits = { mosa: 8.33 for mosa in mosas }

i_equal_oms = Instrument(size=1e5,
               dt=1/4,
               orbits=equalorbits,
               lock='six')

gives the error

...\instrument\lisainstrument\instrument.py in init_orbits(self, orbits, neglect_tps)
    497         else:
    498             logger.info("Using user-provided proper pseudo-ranges and derivatives thereof")
--> 499             if not self.neglect_tps:
    500                 logger.warning("Neglecting TPS despite configuration because user-provided PPRs are used")
    501             self.orbit_file = None

AttributeError: 'Instrument' object has no attribute 'neglect_tps'
Assignee
Assign to
Time tracking