profiles.density.FlaredDiskDensityProfile.to_json#

FlaredDiskDensityProfile.to_json(filepath: str, **kwargs)#

Serialize the profile to a JSON file.

Parameters:
  • filepath (str) – Path to the output JSON file.

  • kwargs (dict) – Additional arguments passed to json.dump.