<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Radial Velocity Offsets (rv_offset)
Setup
Let's first make sure we have the latest version of PHOEBE 2.3 installed (uncomment this line if running in an online notebook session such as colab).
Step1:  As always, let's do imports and initialize a logger and a new bundle.
Step2:  Relevant Parameters
Radial velocity offsets allow for a per-component and per-dataset offset applied to the synthetic RVs.
First let's run a model without any offsets applied.
Step3:  and now let's look at the rv_offset parameters and set an offset for the primary RV.
Step4:  Now let's run another model, with the offset applied to the primary component.
Step5:  Influence on Radial Velocities
<ASSISTANT_TASK:>
Python Code:
#!pip install -I "phoebe>=2.3,<2.4"
Explanation: Radial Velocity Offsets (rv_offset)
Setup
Let's first make sure we have the latest version of PHOEBE 2.3 installed (uncomment this line if running in an online notebook session such as colab).
End of explanation
import phoebe
from phoebe import u # units
import numpy as np
import matplotlib.pyplot as plt
logger = phoebe.logger()
b = phoebe.default_binary()
b.add_dataset('rv', times=np.linspace(0,1,101), dataset='rv01')
b.set_value_all('ld_mode', 'manual')
b.set_value_all('ld_func', 'logarithmic')
b.set_value_all('ld_coeffs', [0.0, 0.0])
b.set_value_all('atm', 'blackbody')
Explanation: As always, let's do imports and initialize a logger and a new bundle.
End of explanation
b.run_compute(model='without_offset')
Explanation: Relevant Parameters
Radial velocity offsets allow for a per-component and per-dataset offset applied to the synthetic RVs.
First let's run a model without any offsets applied.
End of explanation
print(b.filter(qualifier='rv_offset'))
b.set_value(qualifier='rv_offset', component='primary', value=25)
Explanation: and now let's look at the rv_offset parameters and set an offset for the primary RV.
End of explanation
b.run_compute(model='with_offset')
Explanation: Now let's run another model, with the offset applied to the primary component.
End of explanation
afig, mplfig = b.plot(legend=True, show=True)
Explanation: Influence on Radial Velocities
End of explanation
<END_TASK>